@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_SUCCESSgetPlanKeyFunction, NAME_DELIMITERgetPlanKey| Modifier and Type | Method and Description |
|---|---|
ChainStage |
addNewStage(String name,
String description,
boolean manual)
Deprecated.
since 5.13 use
addStage(ChainStage) |
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
|
Chain |
getMaster()
Return the master plan if one exists.
|
List<ChainStage> |
getStages()
Get Stages of the chain.
|
void |
removeStage(long chainStageId) |
void |
setNotificationSet(NotificationSet notificationSet) |
void |
setStorageTag(ChainStorageTag storageTag) |
containsStage, getCreationDate, getEffectiveRepositoryDefinitions, getEntityType, getJobCount, getLastResultKey, getNotificationSet, getPlanRepositoryDefinitions, getStorageTag, getVcsBambooSpecsSource, getVcsLocationBambooSpecsStategetTriggerDefinitions, isSuspendedgetBuildDefinitionXml, getLabellings, getLatestResultsSummary, getRelatedLabellings, setBuildDefinitionXml, setBuildKey, setBuildName, setKey, setLabellings, setMaster, setPlanKey, setProject, setSuspendedFromBuildingsetOidgetOidsetDescription, setNamesetMarkedForDeletionsetIdisMarkedForDeletiongetAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletiongetBuildKey, getBuildName, getDatabaseId, getId, getMasterId, getMasterIdIfExists, getName, getPlanKey, getPlanType, isSuspendedFromBuildingvoid setNotificationSet(NotificationSet notificationSet)
@Deprecated @NotNull ChainStage addNewStage(@NotNull String name, @NotNull String description, boolean manual)
addStage(ChainStage)name - description - manual - void addStage(@NotNull
ChainStage chainStage)
void removeStage(long chainStageId)
Chain getMaster()
ImmutablePlangetMaster in interface ImmutableChaingetMaster in interface ImmutablePlanPlan if one exists.@NotNull List<ChainStage> getStages()
ImmutableChain
Note that this excludes ChainStages that have been marked for deletion
getStages in interface ImmutableChain@NotNull List<ChainStage> getAllStages()
Note that this includes ChainStages that have been marked for deletion
getAllStages in interface ImmutableChain@NotNull List<Job> getAllJobs()
getAllJobs in interface ImmutableChainvoid setStorageTag(ChainStorageTag storageTag)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.