|
||||||||||
| 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 encapsulate the configuration aspects of a build. What the
actual builds look like? What should be executed?
| Method Summary | |
|---|---|
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()
Deprecated. Since 3.1. Use tasks getTaskDefinitions() |
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. |
java.util.List<TaskDefinition> |
getTaskDefinitions()
All tasks defined for this build. |
WebRepositoryViewer |
getWebRepositoryViewer()
Get the module responsible for displaying commits for this build. |
XmppMessageSender |
getXmppMessageSender()
The build's option IM message server configuration |
boolean |
isInheritRepository()
Whether the BuildDefinition will use its own Repository or not or
will it use its parents' Repository |
void |
setBuildChangedEmails(java.lang.String emailAddress)
Define who is notified of build results by email |
void |
setBuilder(Builder builder)
Deprecated. Since 3.1. Use tasks getTaskDefinitions() |
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 |
setInheritRepository(boolean inheritRepository)
Sets if the BuildDefinition should use the parents' Repository |
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 |
setTaskDefinitions(java.util.List<TaskDefinition> taskDefinitions)
|
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 |
|---|
getBuilderV2, getRepositoryV2 |
| Method Detail |
|---|
boolean isInheritRepository()
BuildDefinition will use its own Repository or not or
will it use its parents' Repository
void setInheritRepository(boolean inheritRepository)
BuildDefinition should use the parents' Repository
inheritRepository - BuildStrategy getBuildStrategy()
BuildStrategy that the user actually selects
BuildStrategyvoid setBuildStrategy(BuildStrategy buildStrategy)
buildStrategy - The next build strategy to use.@Nullable Repository getRepository()
Repository.
getRepository in interface BuildPlanDefinitionvoid 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 @Deprecated Builder getBuilder()
getTaskDefinitions()
Builder. Returns null if builder plugin module not found.
@Deprecated void setBuilder(Builder builder)
getTaskDefinitions()
builder - the builderjava.lang.String getBuildChangedEmails()
java.util.List getBuildChangedEmailList()
void setBuildChangedEmails(java.lang.String emailAddress)
emailAddress - The build email addressvoid 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 BuildPlanDefinitionvoid 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)
@NotNull java.util.List<TaskDefinition> getTaskDefinitions()
List of TaskDefinitions
void setTaskDefinitions(@NotNull
java.util.List<TaskDefinition> taskDefinitions)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||