|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfrog.build.api.builder.BuildInfoBuilder
public class BuildInfoBuilder
A builder for the build class
| Constructor Summary | |
|---|---|
BuildInfoBuilder(java.lang.String name)
|
|
| Method Summary | |
|---|---|
BuildInfoBuilder |
addModule(Module module)
Adds the given module to the modules list |
BuildInfoBuilder |
addProperty(java.lang.Object key,
java.lang.Object value)
Adds the given property to the properties object |
BuildInfoBuilder |
addStatus(PromotionStatus promotionStatus)
|
BuildInfoBuilder |
agent(Agent agent)
Sets the agent of the build |
BuildInfoBuilder |
artifactoryPrincipal(java.lang.String artifactoryPrincipal)
Sets the Artifactory principal of the build |
Build |
build()
Assembles the build class |
BuildInfoBuilder |
buildAgent(BuildAgent buildAgent)
Sets the build agent of the build |
BuildInfoBuilder |
buildRetention(BuildRetention buildRetention)
Sets the post build retention period |
BuildInfoBuilder |
durationMillis(long durationMillis)
Sets the duration milliseconds of the build |
BuildInfoBuilder |
governance(Governance governance)
|
BuildInfoBuilder |
issues(Issues issues)
|
BuildInfoBuilder |
licenseControl(LicenseControl licenseControl)
Sets the violation notifications of the build |
BuildInfoBuilder |
modules(java.util.List<Module> modules)
Sets the modules of the build |
BuildInfoBuilder |
name(java.lang.String name)
Sets the name of the build |
BuildInfoBuilder |
number(java.lang.String number)
Sets the number of the build |
BuildInfoBuilder |
parentName(java.lang.String parentName)
Sets the parent build name of the build |
BuildInfoBuilder |
parentNumber(java.lang.String parentNumber)
Sets the parent build number of the build |
BuildInfoBuilder |
principal(java.lang.String principal)
Sets the principal of the build |
BuildInfoBuilder |
properties(java.util.Properties properties)
Sets the properties of the build |
BuildInfoBuilder |
started(java.lang.String started)
Sets the started time of the build |
BuildInfoBuilder |
startedDate(java.util.Date startedDate)
Sets the started time of the build |
BuildInfoBuilder |
statuses(java.util.List<PromotionStatus> statuses)
|
BuildInfoBuilder |
type(BuildType type)
Sets the type of the build |
BuildInfoBuilder |
url(java.lang.String url)
Sets the URL of the build |
BuildInfoBuilder |
vcsRevision(java.lang.String vcsRevision)
Sets the vcs revision (format is vcs specific) |
BuildInfoBuilder |
version(java.lang.String version)
Sets the version of the build |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuildInfoBuilder(java.lang.String name)
| Method Detail |
|---|
public Build build()
public BuildInfoBuilder version(java.lang.String version)
version - Build version
public BuildInfoBuilder name(java.lang.String name)
name - Build name
public BuildInfoBuilder number(java.lang.String number)
number - Build number
public BuildInfoBuilder type(BuildType type)
type - Build type
public BuildInfoBuilder agent(Agent agent)
agent - Build agent
public BuildInfoBuilder buildAgent(BuildAgent buildAgent)
buildAgent - The build agent
public BuildInfoBuilder started(java.lang.String started)
started - Build started time
public BuildInfoBuilder startedDate(java.util.Date startedDate)
startedDate - Build started date
public BuildInfoBuilder durationMillis(long durationMillis)
durationMillis - Build duration milliseconds
public BuildInfoBuilder principal(java.lang.String principal)
principal - Build principal
public BuildInfoBuilder artifactoryPrincipal(java.lang.String artifactoryPrincipal)
artifactoryPrincipal - Build Artifactory principal
public BuildInfoBuilder url(java.lang.String url)
url - Build URL
public BuildInfoBuilder parentName(java.lang.String parentName)
parentName - Build parent build name
public BuildInfoBuilder parentNumber(java.lang.String parentNumber)
parentNumber - Build parent build number
public BuildInfoBuilder vcsRevision(java.lang.String vcsRevision)
vcsRevision - The vcs revision
public BuildInfoBuilder modules(java.util.List<Module> modules)
modules - Build modules
public BuildInfoBuilder statuses(java.util.List<PromotionStatus> statuses)
public BuildInfoBuilder addStatus(PromotionStatus promotionStatus)
public BuildInfoBuilder licenseControl(LicenseControl licenseControl)
licenseControl - Build violation recipients.
public BuildInfoBuilder buildRetention(BuildRetention buildRetention)
licenseControl - Build violation recipients.
public BuildInfoBuilder addModule(Module module)
module - Module to add
public BuildInfoBuilder properties(java.util.Properties properties)
properties - Build properties
public BuildInfoBuilder addProperty(java.lang.Object key,
java.lang.Object value)
key - Key of property to addvalue - Value of property to add
public BuildInfoBuilder issues(Issues issues)
public BuildInfoBuilder governance(Governance governance)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||