|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfrog.build.api.builder.BuildInfoBuilder
org.jfrog.build.api.builder.BuildInfoMavenBuilder
public class BuildInfoMavenBuilder
A temporary builder for the build class specifically for Maven extractor.
NOTE! This class should be merged to BuildInfoBuilder once fully tested.
| Field Summary |
|---|
| Fields inherited from class org.jfrog.build.api.builder.BuildInfoBuilder |
|---|
agent, artifactoryPluginVersion, artifactoryPrincipal, buildAgent, buildRetention, durationMillis, governance, issues, licenseControl, modules, name, number, parentName, parentNumber, principal, properties, runParameters, started, statuses, type, url, vcsRevision, vcsUrl, version |
| Constructor Summary | |
|---|---|
BuildInfoMavenBuilder(java.lang.String name)
|
|
| Method Summary | |
|---|---|
BuildInfoMavenBuilder |
addModule(Module module)
Adds the given module to the modules list |
BuildInfoMavenBuilder |
addProperty(java.lang.Object key,
java.lang.Object value)
Adds the given property to the properties object |
BuildInfoMavenBuilder |
addStatus(PromotionStatus promotionStatus)
|
BuildInfoMavenBuilder |
agent(Agent agent)
Sets the agent of the build |
BuildInfoMavenBuilder |
artifactoryPluginVersion(java.lang.String artifactoryPluginVersion)
Sets the Artifactory plugin version of the build |
BuildInfoMavenBuilder |
artifactoryPrincipal(java.lang.String artifactoryPrincipal)
Sets the Artifactory principal of the build |
Build |
build()
Assembles the build class |
BuildInfoMavenBuilder |
buildAgent(BuildAgent buildAgent)
Sets the build agent of the build |
BuildInfoMavenBuilder |
buildRetention(BuildRetention buildRetention)
Sets the post build retention period |
BuildInfoMavenBuilder |
durationMillis(long durationMillis)
Sets the duration milliseconds of the build |
BuildInfoMavenBuilder |
governance(Governance governance)
|
BuildInfoMavenBuilder |
issues(Issues issues)
|
BuildInfoMavenBuilder |
licenseControl(LicenseControl licenseControl)
Sets the violation notifications of the build |
BuildInfoMavenBuilder |
modules(java.util.concurrent.ConcurrentHashMap<java.lang.String,Module> modules)
Sets the modules of the build |
BuildInfoMavenBuilder |
name(java.lang.String name)
Sets the name of the build |
BuildInfoMavenBuilder |
number(java.lang.String number)
Sets the number of the build |
BuildInfoMavenBuilder |
parentName(java.lang.String parentName)
Sets the parent build name of the build |
BuildInfoMavenBuilder |
parentNumber(java.lang.String parentNumber)
Sets the parent build number of the build |
BuildInfoMavenBuilder |
principal(java.lang.String principal)
Sets the principal of the build |
BuildInfoMavenBuilder |
properties(java.util.Properties properties)
Sets the properties of the build |
BuildInfoMavenBuilder |
started(java.lang.String started)
Sets the started time of the build |
BuildInfoMavenBuilder |
startedDate(java.util.Date startedDate)
Sets the started time of the build |
BuildInfoMavenBuilder |
statuses(java.util.List<PromotionStatus> statuses)
|
BuildInfoMavenBuilder |
type(BuildType type)
Sets the type of the build |
BuildInfoMavenBuilder |
url(java.lang.String url)
Sets the URL of the build |
BuildInfoMavenBuilder |
vcsRevision(java.lang.String vcsRevision)
Sets the vcs revision (format is vcs specific) |
BuildInfoMavenBuilder |
vcsUrl(java.lang.String vcsUrl)
Sets the vcs URL (format is vcs specific) |
BuildInfoMavenBuilder |
version(java.lang.String version)
Sets the version of the build |
| Methods inherited from class org.jfrog.build.api.builder.BuildInfoBuilder |
|---|
addRunParameters, buildRunParameters, modules |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuildInfoMavenBuilder(java.lang.String name)
| Method Detail |
|---|
public Build build()
build in class BuildInfoBuilderpublic BuildInfoMavenBuilder version(java.lang.String version)
version in class BuildInfoBuilderversion - Build version
public BuildInfoMavenBuilder name(java.lang.String name)
name in class BuildInfoBuildername - Build name
public BuildInfoMavenBuilder number(java.lang.String number)
number in class BuildInfoBuildernumber - Build number
public BuildInfoMavenBuilder type(BuildType type)
type in class BuildInfoBuildertype - Build type
public BuildInfoMavenBuilder agent(Agent agent)
agent in class BuildInfoBuilderagent - Build agent
public BuildInfoMavenBuilder buildAgent(BuildAgent buildAgent)
buildAgent in class BuildInfoBuilderbuildAgent - The build agent
public BuildInfoMavenBuilder started(java.lang.String started)
started in class BuildInfoBuilderstarted - Build started time
public BuildInfoMavenBuilder startedDate(java.util.Date startedDate)
startedDate in class BuildInfoBuilderstartedDate - Build started date
public BuildInfoMavenBuilder durationMillis(long durationMillis)
durationMillis in class BuildInfoBuilderdurationMillis - Build duration milliseconds
public BuildInfoMavenBuilder principal(java.lang.String principal)
principal in class BuildInfoBuilderprincipal - Build principal
public BuildInfoMavenBuilder artifactoryPrincipal(java.lang.String artifactoryPrincipal)
artifactoryPrincipal in class BuildInfoBuilderartifactoryPrincipal - Build Artifactory principal
public BuildInfoMavenBuilder artifactoryPluginVersion(java.lang.String artifactoryPluginVersion)
artifactoryPluginVersion in class BuildInfoBuilderartifactoryPluginVersion - Build Artifactory plugin version
public BuildInfoMavenBuilder url(java.lang.String url)
url in class BuildInfoBuilderurl - Build URL
public BuildInfoMavenBuilder parentName(java.lang.String parentName)
parentName in class BuildInfoBuilderparentName - Build parent build name
public BuildInfoMavenBuilder parentNumber(java.lang.String parentNumber)
parentNumber in class BuildInfoBuilderparentNumber - Build parent build number
public BuildInfoMavenBuilder vcsRevision(java.lang.String vcsRevision)
vcsRevision in class BuildInfoBuildervcsRevision - The vcs revision
public BuildInfoMavenBuilder vcsUrl(java.lang.String vcsUrl)
vcsUrl in class BuildInfoBuildervcsUrl - The vcs revision
public BuildInfoMavenBuilder modules(java.util.concurrent.ConcurrentHashMap<java.lang.String,Module> modules)
modules in class BuildInfoBuildermodules - Build modules
public BuildInfoMavenBuilder statuses(java.util.List<PromotionStatus> statuses)
statuses in class BuildInfoBuilderpublic BuildInfoMavenBuilder addStatus(PromotionStatus promotionStatus)
addStatus in class BuildInfoBuilderpublic BuildInfoMavenBuilder licenseControl(LicenseControl licenseControl)
licenseControl in class BuildInfoBuilderlicenseControl - Build violation recipients.
public BuildInfoMavenBuilder buildRetention(BuildRetention buildRetention)
buildRetention in class BuildInfoBuilderbuildRetention - Build violation recipients.
public BuildInfoMavenBuilder addModule(Module module)
addModule in class BuildInfoBuildermodule - Module to add
public BuildInfoMavenBuilder properties(java.util.Properties properties)
properties in class BuildInfoBuilderproperties - Build properties
public BuildInfoMavenBuilder addProperty(java.lang.Object key,
java.lang.Object value)
addProperty in class BuildInfoBuilderkey - Key of property to addvalue - Value of property to add
public BuildInfoMavenBuilder issues(Issues issues)
issues in class BuildInfoBuilderpublic BuildInfoMavenBuilder governance(Governance governance)
governance in class BuildInfoBuilder
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||