|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfrog.build.api.builder.DependencyBuilder
public class DependencyBuilder
A builder for the dependency class
| Constructor Summary | |
|---|---|
DependencyBuilder()
|
|
| Method Summary | |
|---|---|
DependencyBuilder |
addProperty(java.lang.Object key,
java.lang.Object value)
Adds the given property to the properties object |
DependencyBuilder |
addRequiredBy(java.lang.String requiredBy)
Adds an ID of another dependency required by this one to the required dependencies list |
Dependency |
build()
Assembles the dependency class |
DependencyBuilder |
id(java.lang.String id)
Sets the ID of the dependency |
DependencyBuilder |
md5(java.lang.String md5)
Sets the MD5 checksum of the dependency |
DependencyBuilder |
properties(java.util.Properties properties)
Sets the properties of the dependency |
DependencyBuilder |
requiredBy(java.util.List<java.lang.String> requiredBy)
Sets an ID list of other dependencies required by this one |
DependencyBuilder |
scopes(java.util.Set<java.lang.String> scopes)
Sets the scope list of the dependency |
DependencyBuilder |
sha1(java.lang.String sha1)
Sets the SHA1 checksum of the dependency |
DependencyBuilder |
type(java.lang.String type)
Sets the type of the dependency |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DependencyBuilder()
| Method Detail |
|---|
public Dependency build()
public DependencyBuilder id(java.lang.String id)
id - Dependency ID
public DependencyBuilder type(java.lang.String type)
type - Dependency type
public DependencyBuilder scopes(java.util.Set<java.lang.String> scopes)
scopes - Dependency scope list
public DependencyBuilder sha1(java.lang.String sha1)
sha1 - Dependency SHA1 checksum
public DependencyBuilder md5(java.lang.String md5)
md5 - Dependency MD5 checksum
public DependencyBuilder requiredBy(java.util.List<java.lang.String> requiredBy)
requiredBy - Required dependency IDs list
public DependencyBuilder addRequiredBy(java.lang.String requiredBy)
requiredBy - Required dependency ID
public DependencyBuilder properties(java.util.Properties properties)
properties - Dependency properties
public DependencyBuilder addProperty(java.lang.Object key,
java.lang.Object value)
key - Key of property to addvalue - Value of property to add
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||