|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Chain
Mutable version of ImmutableChain
.
Field Summary |
---|
Fields inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan |
---|
MAX_NUMBER_LOG_ENTRIES, MAX_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESS |
Method Summary | |
---|---|
ChainStage |
addNewStage(java.lang.String name,
java.lang.String description,
boolean manual)
Adds a new stage and returns the stage |
void |
addStage(ChainStage chainStage)
|
java.util.List<Job> |
getAllJobs()
Note: Does not include Jobs that are marked for deletion. |
java.util.List<ChainStage> |
getAllStages()
Get Stages of the Chain
Note that this includes |
Chain |
getMaster()
Return the master plan if one exists. |
java.util.List<ChainStage> |
getStages()
Get Stages of the chain. |
void |
removeStage(long chainStage)
|
void |
setNotificationSet(NotificationSet notificationSet)
|
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableChain |
---|
containsStage, getEffectiveRepositoryDefinitions, getJobCount, getLastResultKey, getNotificationSet |
Methods inherited from interface com.atlassian.bamboo.plan.Plan |
---|
getLabellings, getRelatedLabellings, setBuildDefinitionXml, setBuildKey, setBuildName, setFirstBuildNumber, setKey, setLabellings, setLastBuildNumber, setMaster, setNextBuildNumber, setPlanKey, setProject, setSuspendedFromBuilding, validateBuild |
Methods inherited from interface com.atlassian.bamboo.Describable |
---|
setDescription, setName |
Methods inherited from interface com.atlassian.bamboo.deletion.Deletable |
---|
setMarkedForDeletion |
Methods inherited from interface com.atlassian.bamboo.core.BambooObject |
---|
setId |
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableDeletable |
---|
isMarkedForDeletion |
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan |
---|
getAverageBuildDuration, getBuildDefinition, getBuildDefinitionXml, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getLatestResultsSummary, getNextBuildNumber, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletion |
Methods inherited from interface com.atlassian.bamboo.plan.PlanIdentifier |
---|
getBuildKey, getBuildName, getId, getMasterId, getName, getPlanKey, getPlanType, isSuspendedFromBuilding |
Method Detail |
---|
void setNotificationSet(NotificationSet notificationSet)
@NotNull ChainStage addNewStage(@NotNull java.lang.String name, @NotNull java.lang.String description, boolean manual)
name
- description
- manual
-
void addStage(@NotNull ChainStage chainStage)
void removeStage(long chainStage)
Chain getMaster()
ImmutablePlan
getMaster
in interface ImmutablePlan
Plan
if one exists.@NotNull java.util.List<ChainStage> getStages()
ImmutableChain
Note that this excludes ChainStage
s that have been marked for deletion
getStages
in interface ImmutableChain
@NotNull java.util.List<ChainStage> getAllStages()
Note that this includes ChainStage
s that have been marked for deletion
getAllStages
in interface ImmutableChain
@NotNull java.util.List<Job> getAllJobs()
getAllJobs
in interface ImmutableChain
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |