|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfrog.build.api.builder.ArtifactBuilder
public class ArtifactBuilder
A builder for the artifact class
| Constructor Summary | |
|---|---|
ArtifactBuilder(java.lang.String name)
|
|
| Method Summary | |
|---|---|
ArtifactBuilder |
addProperty(java.lang.Object key,
java.lang.Object value)
Adds the given property to the properties object |
Artifact |
build()
Assembles the artifact class |
ArtifactBuilder |
md5(java.lang.String md5)
Sets the MD5 checksum of the artifact |
ArtifactBuilder |
name(java.lang.String name)
Sets the name of the artifact |
ArtifactBuilder |
properties(java.util.Properties properties)
Sets the properties of the artifact |
ArtifactBuilder |
sha1(java.lang.String sha1)
Sets the SHA1 checksum of the artifact |
ArtifactBuilder |
type(java.lang.String type)
Sets the type of the artifact |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArtifactBuilder(java.lang.String name)
| Method Detail |
|---|
public Artifact build()
public ArtifactBuilder name(java.lang.String name)
name - Artifact name
public ArtifactBuilder type(java.lang.String type)
type - Artifact type
public ArtifactBuilder sha1(java.lang.String sha1)
sha1 - Artifact SHA1 checksum
public ArtifactBuilder md5(java.lang.String md5)
md5 - Artifact MD5 checksum
public ArtifactBuilder properties(java.util.Properties properties)
properties - Artifact properties
public ArtifactBuilder 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 | ||||||||