All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Download java1.8 JAR files with dependency

Search JAR files by class name

iuliia-java from group io.github.massita99 (version 0.2)

Transliterate Cyrillic → Latin in every possible way

Group: io.github.massita99 Artifact: iuliia-java
Show all versions Show documentation Show source 
 

0 downloads
Artifact iuliia-java
Group io.github.massita99
Version 0.2
Last update 04. May 2020
Organization not specified
URL https://github.com/massita99/iuliia-java
License The Apache License, Version 2.0
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!

java-secret-vault from group com.devebot.jigsaw (version 0.3.1)

Secret Vault Utilities for Java

Group: com.devebot.jigsaw Artifact: java-secret-vault
Show all versions Show documentation Show source 
 

0 downloads
Artifact java-secret-vault
Group com.devebot.jigsaw
Version 0.3.1
Last update 04. May 2020
Organization not specified
URL https://github.com/opflow/java-secret-vault
License The Apache Software License, Version 2.0
Dependencies amount 2
Dependencies slf4j-api, PBKDF2,
There are maybe transitive dependencies!

sclera-extensions-java-sdk_2.13 from group com.scleradb (version 4.0)

Wrapper classes to enable Sclera extension development in Java

Group: com.scleradb Artifact: sclera-extensions-java-sdk_2.13
Show documentation Show source 
 

0 downloads
Artifact sclera-extensions-java-sdk_2.13
Group com.scleradb
Version 4.0
Last update 03. May 2020
Organization Sclera, Inc.
URL https://github.com/scleradb/sclera/tree/master/sdkjava
License Apache License version 2.0
Dependencies amount 1
Dependencies scala-library,
There are maybe transitive dependencies!

logger-for-java from group com.github.loadingbg (version v1.1)

A simple logger for java.

Group: com.github.loadingbg Artifact: logger-for-java
Show all versions Show documentation Show source 
 

0 downloads
Artifact logger-for-java
Group com.github.loadingbg
Version v1.1
Last update 02. May 2020
Organization not specified
URL https://github.com/LoadingBG/logger-for-java
License The Apache License, Version 2.0
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!

MiniML-for-java from group com.github.loadingbg (version v1.0)

A library for parsing MiniML documents.

Group: com.github.loadingbg Artifact: MiniML-for-java
Show documentation Show source 
 

0 downloads
Artifact MiniML-for-java
Group com.github.loadingbg
Version v1.0
Last update 30. April 2020
Organization not specified
URL https://github.com/LoadingBG/MiniML-for-java
License The Apache License, Version 2.0
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!

java-gradle-plugins from group de.carne.common (version 0.9.0)

Collection of Gradle plugins for Java development

Group: de.carne.common Artifact: java-gradle-plugins
Show all versions Show documentation Show source 
 

0 downloads
Artifact java-gradle-plugins
Group de.carne.common
Version 0.9.0
Last update 30. April 2020
Organization not specified
URL https://github.com/hdecarne/java-gradle-plugins
License GNU General Public License, Version 3
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!

pact-jvm-consumer-java8_2.12 from group au.com.dius (version 3.6.15)

# pact-jvm-consumer-java8 Provides a Java8 lambda based DSL for use with Junit to build consumer tests. # A Lambda DSL for Pact This is an extension for the pact DSL provided by [pact-jvm-consumer](../pact-jvm-consumer). The difference between the default pact DSL and this lambda DSL is, as the name suggests, the usage of lambdas. The use of lambdas makes the code much cleaner. ## Why a new DSL implementation? The lambda DSL solves the following two main issues. Both are visible in the following code sample: ```java new PactDslJsonArray() .array() # open an array .stringValue("a1") # choose the method that is valid for arrays .stringValue("a2") # choose the method that is valid for arrays .closeArray() # close the array .array() # open an array .numberValue(1) # choose the method that is valid for arrays .numberValue(2) # choose the method that is valid for arrays .closeArray() # close the array .array() # open an array .object() # now we work with an object .stringValue("foo", "Foo") # choose the method that is valid for objects .closeObject() # close the object and we're back in the array .closeArray() # close the array ``` ### The existing DSL is quite error-prone Methods may only be called in certain states. For example `object()` may only be called when you're currently working on an array whereas `object(name)` is only allowed to be called when working on an object. But both of the methods are available. You'll find out at runtime if you're using the correct method. Finally, the need for opening and closing objects and arrays makes usage cumbersome. The lambda DSL has no ambiguous methods and there's no need to close objects and arrays as all the work on such an object is wrapped in a lamda call. ### The existing DSL is hard to read When formatting your source code with an IDE the code becomes hard to read as there's no indentation possible. Of course, you could do it by hand but we want auto formatting! Auto formatting works great for the new DSL! ```java array.object((o) -> { o.stringValue("foo", "Foo"); # an attribute o.stringValue("bar", "Bar"); # an attribute o.object("tar", (tarObject) -> { # an attribute with a nested object tarObject.stringValue("a", "A"); # attribute of the nested object tarObject.stringValue("b", "B"); # attribute of the nested object }) }); ``` ## Installation ### Maven ``` <dependency> <groupId>au.com.dius</groupId> <artifactId>pact-jvm-consumer-java8_2.12</artifactId> <version>${pact.version}</version> </dependency> ``` ## Usage Start with a static import of `LambdaDsl`. This class contains factory methods for the lambda dsl extension. When you come accross the `body()` method of `PactDslWithProvider` builder start using the new extensions. The call to `LambdaDsl` replaces the call to instance `new PactDslJsonArray()` and `new PactDslJsonBody()` of the pact library. ```java io.pactfoundation.consumer.dsl.LambdaDsl.* ``` ### Response body as json array ```java import static io.pactfoundation.consumer.dsl.LambdaDsl.newJsonArray; ... PactDslWithProvider builder = ... builder.given("some state") .uponReceiving("a request") .path("/my-app/my-service") .method("GET") .willRespondWith() .status(200) .body(newJsonArray((a) -> { a.stringValue("a1"); a.stringValue("a2"); }).build()); ``` ### Response body as json object ```java import static io.pactfoundation.consumer.dsl.LambdaDsl.newJsonBody; ... PactDslWithProvider builder = ... builder.given("some state") .uponReceiving("a request") .path("/my-app/my-service") .method("GET") .willRespondWith() .status(200) .body(newJsonBody((o) -> { o.stringValue("foo", "Foo"); o.stringValue("bar", "Bar"); }).build()); ``` ### Examples #### Simple Json object When creating simple json structures the difference between the two approaches isn't big. ##### JSON ```json { "bar": "Bar", "foo": "Foo" } ``` ##### Pact DSL ```java new PactDslJsonBody() .stringValue("foo", "Foo") .stringValue("bar", "Bar") ``` ##### Lambda DSL ```java newJsonBody((o) -> { o.stringValue("foo", "Foo"); o.stringValue("bar", "Bar"); }).build(); ``` #### An array of arrays When we come to more complex constructs with arrays and nested objects the beauty of lambdas become visible! ##### JSON ```json [ ["a1", "a2"], [1, 2], [{"foo": "Foo"}] ] ``` ##### Pact DSL ```java new PactDslJsonArray() .array() .stringValue("a1") .stringValue("a2") .closeArray() .array() .numberValue(1) .numberValue(2) .closeArray() .array() .object() .stringValue("foo", "Foo") .closeObject() .closeArray(); ``` ##### Lambda DSL ```java newJsonArray((rootArray) -> { rootArray.array((a) -> a.stringValue("a1").stringValue("a2")); rootArray.array((a) -> a.numberValue(1).numberValue(2)); rootArray.array((a) -> a.object((o) -> o.stringValue("foo", "Foo"))); }).build(); ``` `object` is a reserved word in Kotlin. To allow using the DSL without escaping, a Kotlin extension `newObject` is available: ```kotlin newJsonArray { rootArray -> rootArray.array { a -> a.stringValue("a1").stringValue("a2") } rootArray.array { a -> a.numberValue(1).numberValue(2) } rootArray.array { a -> a.newObject { o -> o.stringValue("foo", "Foo") } } }.build(); ```

Group: au.com.dius Artifact: pact-jvm-consumer-java8_2.12
Show all versions Show documentation Show source 
 

0 downloads
Artifact pact-jvm-consumer-java8_2.12
Group au.com.dius
Version 3.6.15
Last update 29. April 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 1
Dependencies pact-jvm-consumer_2.12,
There are maybe transitive dependencies!

aws-lambda-java-log4j from group com.amazonaws (version 1.0.1)

Support for using log4j 1.2 with AWS Lambda.

Group: com.amazonaws Artifact: aws-lambda-java-log4j
Show all versions Show documentation Show source 
 

6 downloads
Artifact aws-lambda-java-log4j
Group com.amazonaws
Version 1.0.1
Last update 28. April 2020
Organization not specified
URL https://aws.amazon.com/lambda/
License Apache License, Version 2.0
Dependencies amount 2
Dependencies aws-lambda-java-core, log4j,
There are maybe transitive dependencies!

gocd-java-client from group in.ashwanthkumar (version 0.0.11)

Access GoCD API in Java

Group: in.ashwanthkumar Artifact: gocd-java-client
Show all versions Show documentation Show source 
 

0 downloads
Artifact gocd-java-client
Group in.ashwanthkumar
Version 0.0.11
Last update 28. April 2020
Organization not specified
URL https://github.com/ashwanthkumar/gocd-java-client
License Apache2
Dependencies amount 7
Dependencies commons-io, commons-lang3, slf4j-api, logback-classic, jsoup, gson, google-http-client-gson,
There are maybe transitive dependencies!

canon-template-java from group org.symphonyoss.s2.canon (version 0.2.22)

Group: org.symphonyoss.s2.canon Artifact: canon-template-java
Show all versions Show source 
 

0 downloads
Artifact canon-template-java
Group org.symphonyoss.s2.canon
Version 0.2.22
Last update 27. April 2020
Organization not specified
URL Not specified
License not specified
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!



Page 881 from 1544 (items total 15436)


© 2015 - 2024 Weber Informatics LLC | Privacy Policy