@PublicApi public interface Chain extends ImmutableChain, Plan
ImmutableChain.MAX_NUMBER_LOG_ENTRIES, MAX_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESSgetPlanKeyFunctiongetPlanKey| Modifier and Type | Method and Description |
|---|---|
ChainStage |
addNewStage(String name,
String description,
boolean manual)
Adds a new stage and returns the stage
|
void |
addStage(ChainStage chainStage) |
List<Job> |
getAllJobs()
Note: Does not include Jobs that are marked for deletion.
|
List<ChainStage> |
getAllStages()
Get Stages of the Chain
Note that this includes
ChainStages that have been marked for deletion |
Chain |
getMaster()
Return the master plan if one exists.
|
List<ChainStage> |
getStages()
Get Stages of the chain.
|
void |
removeStage(long chainStage) |
void |
setNotificationSet(NotificationSet notificationSet) |
containsStage, getEffectiveRepositoryDefinitions, getJobCount, getLastResultKey, getNotificationSetgetTriggerDefinitions, getTriggers, isSuspendedgetBuildDefinitionXml, getLabellings, getLatestResultsSummary, getRelatedLabellings, setBuildDefinitionXml, setBuildKey, setBuildName, setFirstBuildNumber, setKey, setLabellings, setLastBuildNumber, setMaster, setNextBuildNumber, setPlanKey, setProject, setSuspendedFromBuildingsetDescription, setNamesetMarkedForDeletionsetIdisMarkedForDeletiongetAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getNextBuildNumber, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletiongetBuildKey, getBuildName, getId, getMasterId, getName, getPlanKey, getPlanType, isSuspendedFromBuildingvoid setNotificationSet(NotificationSet notificationSet)
@NotNull ChainStage addNewStage(@NotNull String name, @NotNull String description, boolean manual)
name - description - manual - void addStage(@NotNull
ChainStage chainStage)
void removeStage(long chainStage)
Chain getMaster()
ImmutablePlangetMaster in interface ImmutableChaingetMaster in interface ImmutablePlanPlan if one exists.@NotNull List<ChainStage> getStages()
ImmutableChainChainStages that have been marked for deletiongetStages in interface ImmutableChain@NotNull List<ChainStage> getAllStages()
ChainStages that have been marked for deletiongetAllStages in interface ImmutableChain@NotNull List<Job> getAllJobs()
getAllJobs in interface ImmutableChainCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.