com.atlassian.bamboo.chains
Interface Chain

All Superinterfaces:
BambooObject, Describable, DescriptionProvider, NameProvider, Plan
All Known Implementing Classes:
DefaultChain

public interface Chain
extends Plan, BambooObject


Field Summary
 
Fields inherited from interface com.atlassian.bamboo.plan.Plan
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)
           
 void addStage(ChainStage chainStage)
           
 java.util.List<ChainStage> getStages()
          Get Stages of the chain
 void removeStage(ChainStage chainStage)
           
 
Methods inherited from interface com.atlassian.bamboo.plan.Plan
accept, getBuildDefinition, getBuildDefinitionXml, getBuildKey, getBuildLogger, getBuildName, getCurrentStatus, getFirstBuildNumber, getKey, getLabellings, getLastBuildNumber, getLastVcsRevisionKey, getName, getNextBuildNumber, getNotificationSet, getPlanKey, getProject, getRelatedLabellings, getRequirementSet, getSourceCodeDirectory, isExecuting, isInBuildQueue, isMarkedForDeletion, isSuspendedFromBuilding, markForDeletion, setBuildDefinitionXml, setBuildKey, setBuildName, setFirstBuildNumber, setKey, setLabellings, setLastBuildNumber, setLastVcsRevisionKey, setNextBuildNumber, setNotificationSet, setProject, setRequirementSet, setSuspendedFromBuilding, unMarkForDeletion, validateBuild
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
getId, setId
 
Methods inherited from interface com.atlassian.bamboo.Describable
setDescription, setName
 
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescription
 

Method Detail

getStages

@NotNull
java.util.List<ChainStage> getStages()
Get Stages of the chain

Returns:
stages

addNewStage

@NotNull
ChainStage addNewStage(@NotNull
                               java.lang.String name,
                               @NotNull
                               java.lang.String description)

addStage

void addStage(@NotNull
              ChainStage chainStage)

removeStage

void removeStage(@NotNull
                 ChainStage chainStage)


Copyright © 2010 Atlassian. All Rights Reserved.