|
||||||||||
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 |
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) |
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()
Deprecated. since 2.5 use PollingBuildStrategy 's polling period |
Repository |
getRepository()
Obtain the build's Repository . |
WebRepositoryViewer |
getWebRepositoryViewer()
Get the module responsible for displaying commits for this build. |
XmppMessageSender |
getXmppMessageSender()
The build's option IM message server configuration |
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 |
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)
Deprecated. since 2.5 use PollingBuildStrategy 's polling period |
void |
setRepository(Repository repository)
Set the build's source code repository. |
void |
setWebRepositoryViewer(WebRepositoryViewer webRepositoryViewer)
Set the module responsibile for displaying commits for this build. |
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
.
getRepository
in interface BuildPlanDefinition
void setRepository(Repository repository)
repository
- The source repoisitory@Nullable WebRepositoryViewer getWebRepositoryViewer()
void setWebRepositoryViewer(@Nullable WebRepositoryViewer webRepositoryViewer)
webRepositoryViewer
- the class responsible for rendering the commits for a build result@Deprecated int getPollingPeriod()
PollingBuildStrategy
's polling period
@Deprecated void setPollingPeriod(int pollingPeriod)
PollingBuildStrategy
's polling period
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 addressjava.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 |