|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BuildDefinition
Each build has a BuildDefinition
. This class encapsupate the confiuguration aspects of a build. What the
actual builds look like? What should be executed?
Method Summary | |
---|---|
void |
addArtifact(Artifact artifact)
Add a new artifact to the existing build artifacts |
void |
addBuildDependency(java.lang.String buildKey)
|
java.util.Map<java.lang.String,Artifact> |
getArtifacts()
Get the custom Artifact s. |
java.util.List |
getBuildChangedEmailList()
Who wants to know when the build changes? A list of individual email addresses. |
java.lang.String |
getBuildChangedEmails()
Who wants to know when the build changes? One or more email addresses (comma separated list) |
java.util.List |
getBuildDependencies()
Deprecated. use Build.getChildBuilds() instead. |
Builder |
getBuilder()
Obtain the build's Builder . |
BuildStrategy |
getBuildStrategy()
Returns to BuildStrategy that the user actually selects |
java.util.Map<java.lang.String,java.lang.Object> |
getConfigObjects()
Returns a map of objects generated by the plugins. |
java.util.Map<java.lang.String,java.lang.String> |
getCustomConfiguration()
A map consisting of String key and String value pairs. |
int |
getPollingPeriod()
How long should we wait between checking the build to see if it need building? |
Repository |
getRepository()
Obtain the build's Repository . |
XmppMessageSender |
getXmppMessageSender()
The build's option IM message server configuration |
boolean |
hasBuildDependency(java.lang.String buildKey)
|
void |
removeBuildDependency(java.lang.String buildKey)
|
void |
setArtifacts(java.util.Map<java.lang.String,Artifact> artifacts)
Replace the build's artifacts with these ones. |
void |
setBuildChangedEmails(java.lang.String emailAddress)
Define who is notified of build results by email |
void |
setBuildDependencies(java.util.Set buildDependencies)
Set of String represneting the build keys |
void |
setBuilder(Builder builder)
Set the build's builder. |
void |
setBuildStrategy(BuildStrategy buildStrategy)
Set the strategy to override the default build strategy. |
void |
setConfigObjects(java.util.Map<java.lang.String,java.lang.Object> configObjects)
|
void |
setCustomConfiguration(java.util.Map<java.lang.String,java.lang.String> configMap)
A map of String key and String value pairs, representing custom |
void |
setPollingPeriod(int pollingPeriod)
How long should we wait between checking the build to see if it need building? |
void |
setRepository(Repository repository)
Set the build's source code repository. |
void |
setWorkingDirectory(java.lang.String buildDirectory)
Deprecated. |
void |
setXmppMessageSender(XmppMessageSender xmppMessageSender)
The build's option IM message server configuration |
Methods inherited from interface com.atlassian.bamboo.v2.build.BuildPlanDefinition |
---|
getArtifactDefinitions, getBuilderV2, getRepositoryV2 |
Method Detail |
---|
BuildStrategy getBuildStrategy()
BuildStrategy
that the user actually selects
BuildStrategy
void setBuildStrategy(BuildStrategy buildStrategy)
buildStrategy
- The next build strategy to use.@Nullable Repository getRepository()
Repository
.
void setRepository(Repository repository)
repository
- The source repoisitoryint getPollingPeriod()
void setPollingPeriod(int pollingPeriod)
pollingPeriod
- The time in seconds@Nullable Builder getBuilder()
Builder
. Returns null if builder plugin module not found.
void setBuilder(Builder builder)
builder
- the builderjava.lang.String getBuildChangedEmails()
java.util.List getBuildChangedEmailList()
void setBuildChangedEmails(java.lang.String emailAddress)
emailAddress
- The build email addressvoid addBuildDependency(java.lang.String buildKey)
void removeBuildDependency(java.lang.String buildKey)
boolean hasBuildDependency(java.lang.String buildKey)
void setBuildDependencies(java.util.Set buildDependencies)
String
represneting the build keys
buildDependencies
- java.util.List getBuildDependencies()
Build.getChildBuilds()
instead.
java.util.Map<java.lang.String,Artifact> getArtifacts()
Artifact
s.
void addArtifact(Artifact artifact)
artifact
- void setArtifacts(java.util.Map<java.lang.String,Artifact> artifacts)
artifacts
- void setWorkingDirectory(java.lang.String buildDirectory)
buildDirectory
- XmppMessageSender getXmppMessageSender()
void setXmppMessageSender(XmppMessageSender xmppMessageSender)
@Nullable java.util.Map<java.lang.String,java.lang.String> getCustomConfiguration()
getCustomConfiguration
in interface BuildPlanDefinition
void setCustomConfiguration(java.util.Map<java.lang.String,java.lang.String> configMap)
configMap
- - can be nulljava.util.Map<java.lang.String,java.lang.Object> getConfigObjects()
Map
with a String
as a key and an arbritary objects as the value.void setConfigObjects(java.util.Map<java.lang.String,java.lang.Object> configObjects)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |