@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_SUCCESS
getPlanKeyFunction, NAME_DELIMITER
getPlanKey
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
getTriggerDefinitions, isSuspended
getBuildDefinitionXml, getLabellings, getLatestResultsSummary, getRelatedLabellings, setBuildDefinitionXml, setBuildKey, setBuildName, setKey, setLabellings, setMaster, setPlanKey, setProject, setSuspendedFromBuilding
setOid
getOid
setDescription, setName
setMarkedForDeletion
setId
isMarkedForDeletion
getAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletion
getBuildKey, getBuildName, getDatabaseId, getId, getMasterId, getMasterIdIfExists, getName, getPlanKey, getPlanType, isSuspendedFromBuilding
void 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()
ImmutablePlan
getMaster
in interface ImmutableChain
getMaster
in interface ImmutablePlan
Plan
if one exists.@NotNull List<ChainStage> getStages()
ImmutableChain
Note that this excludes ChainStage
s that have been marked for deletion
getStages
in interface ImmutableChain
@NotNull List<ChainStage> getAllStages()
Note that this includes ChainStage
s that have been marked for deletion
getAllStages
in interface ImmutableChain
@NotNull List<Job> getAllJobs()
getAllJobs
in interface ImmutableChain
void setStorageTag(ChainStorageTag storageTag)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.