|
||||||||||
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 | |
---|---|
BranchIntegrationConfiguration |
getBranchIntegrationConfiguration()
Returns ChainBranch integration strategy settings, including the branch to merge with, and... |
BranchMonitoringConfiguration |
getBranchMonitoringConfiguration()
Returns plan's branches monitor current settings, like if it is enabled, what is the branch matching regexp and etc... |
BranchSpecificConfiguration |
getBranchSpecificConfiguration()
Returns any configuration that is specific to a branch plan, and not so relevant for a normal plan. |
java.util.List<java.lang.String> |
getBuildChangedEmailList()
Deprecated. since 4.0 notifications are done in a different way now |
java.lang.String |
getBuildChangedEmails()
Who wants to know when the build changes? One or more email addresses (comma separated list) |
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. |
java.lang.Long |
getRepositoryIdDefiningWorkingDir()
|
java.util.List<TaskDefinition> |
getTaskDefinitions()
All tasks defined for this build. |
java.lang.Boolean |
isCleanWorkingDirectory()
Should the working directory be cleaned after build. |
boolean |
isValidValue(java.lang.Object validValue)
Whether or not a given object is a valid value for this BuildDefinition. |
void |
setBranchIntegrationConfiguration(BranchIntegrationConfiguration branchIntegrationConfiguration)
|
void |
setBranchMonitoringConfiguration(BranchMonitoringConfiguration branchMonitoringConfiguration)
|
void |
setBranchSpecificConfiguration(BranchSpecificConfiguration branchSpecificConfiguration)
|
void |
setBuildChangedEmails(java.lang.String emailAddress)
Deprecated. since 4.0 notifications are done in a different way now |
void |
setBuildStrategy(BuildStrategy buildStrategy)
Set the strategy to override the default build strategy. |
void |
setCleanWorkingDirectory(boolean cleanWorkingDirectory)
Set the working directory be cleaned or not cleaned after build |
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 |
setMerged(boolean value)
Set whether or not this BuildDefinition has been merged from multiple sources. |
void |
setRepositoryIdDefiningWorkingDir(long repositoryDefininingWorkingDir)
|
void |
setTaskDefinitions(java.util.List<TaskDefinition> taskDefinitions)
|
Methods inherited from interface com.atlassian.bamboo.build.PartialBuildDefinition |
---|
isMerged |
Methods inherited from interface com.atlassian.bamboo.v2.build.BuildPlanDefinition |
---|
getRepository |
Method Detail |
---|
@NotNull BuildStrategy getBuildStrategy()
BuildStrategy
that the user actually selects
getBuildStrategy
in interface PartialBuildDefinition
BuildStrategy
void setBuildStrategy(BuildStrategy buildStrategy)
buildStrategy
- The next build strategy to use.@NotNull BranchMonitoringConfiguration getBranchMonitoringConfiguration()
getBranchMonitoringConfiguration
in interface PartialBuildDefinition
BranchMonitoringConfiguration
void setBranchMonitoringConfiguration(@Nullable BranchMonitoringConfiguration branchMonitoringConfiguration)
@NotNull BranchIntegrationConfiguration getBranchIntegrationConfiguration()
getBranchIntegrationConfiguration
in interface PartialBuildDefinition
BranchIntegrationConfiguration
void setBranchIntegrationConfiguration(BranchIntegrationConfiguration branchIntegrationConfiguration)
@NotNull BranchSpecificConfiguration getBranchSpecificConfiguration()
getBranchSpecificConfiguration
in interface PartialBuildDefinition
void setBranchSpecificConfiguration(BranchSpecificConfiguration branchSpecificConfiguration)
java.lang.String getBuildChangedEmails()
getBuildChangedEmails
in interface PartialBuildDefinition
@NotNull @Deprecated java.util.List<java.lang.String> getBuildChangedEmailList()
getBuildChangedEmailList
in interface PartialBuildDefinition
@Deprecated void setBuildChangedEmails(java.lang.String emailAddress)
emailAddress
- The build email address@NotNull java.util.Map<java.lang.String,java.lang.String> getCustomConfiguration()
BuildPlanDefinition
getCustomConfiguration
in interface BuildPlanDefinition
getCustomConfiguration
in interface PartialBuildDefinition
void setCustomConfiguration(@NotNull java.util.Map<java.lang.String,java.lang.String> configMap)
configMap
- - can be null@NotNull java.util.Map<java.lang.String,java.lang.Object> getConfigObjects()
getConfigObjects
in interface PartialBuildDefinition
Map
with a String
as a key and an arbitrary objects as the value.void setConfigObjects(@NotNull java.util.Map<java.lang.String,java.lang.Object> configObjects)
@NotNull java.util.List<TaskDefinition> getTaskDefinitions()
getTaskDefinitions
in interface PartialBuildDefinition
List
of TaskDefinition
svoid setTaskDefinitions(@NotNull java.util.List<TaskDefinition> taskDefinitions)
@NotNull java.lang.Boolean isCleanWorkingDirectory()
isCleanWorkingDirectory
in interface PartialBuildDefinition
void setCleanWorkingDirectory(boolean cleanWorkingDirectory)
cleanWorkingDirectory
- @NotNull java.lang.Long getRepositoryIdDefiningWorkingDir()
getRepositoryIdDefiningWorkingDir
in interface PartialBuildDefinition
void setRepositoryIdDefiningWorkingDir(long repositoryDefininingWorkingDir)
void setMerged(boolean value)
value
- true if mergedboolean isValidValue(@Nullable java.lang.Object validValue)
validValue
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |