public interface ImmutableChain extends ImmutablePlan, Triggerable
Chain
that is immutable. Since 3.4, all new uses of Chains should prefer this interface
to improve cacheability.MAX_NUMBER_LOG_ENTRIES, MAX_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESS
NAME_DELIMITER
getPlanKey
Modifier and Type | Method and Description |
---|---|
boolean |
containsStage(@Nullable String stageName)
Checks whether or not a stage exists in this chain by stage name.
|
@NotNull List<? extends ImmutableJob> |
getAllJobs()
Note: Does not include Jobs that are marked for deletion.
|
@NotNull List<? extends ImmutableChainStage> |
getAllStages()
Get Stages of the Chain
|
@NotNull Date |
getCreationDate() |
@NotNull List<RepositoryDefinition> |
getEffectiveRepositoryDefinitions()
Deprecated.
since 5.14
|
default BambooEntityType |
getEntityType()
Entity type of this object, used in
BambooEntityOid . |
int |
getJobCount()
Note: Does not include Jobs that are marked for deletion.
|
@Nullable PlanResultKey |
getLastResultKey()
Get the latest result key including active (not finished) results
|
@Nullable ImmutableChain |
getMaster()
Return the master plan if one exists.
|
NotificationSet |
getNotificationSet()
Get notifications defined for this plan.
|
@NotNull List<PlanRepositoryDefinition> |
getPlanRepositoryDefinitions()
Return list of repositories available to the chain.
|
@NotNull List<? extends ImmutableChainStage> |
getStages()
Get Stages of the chain.
|
ChainStorageTag |
getStorageTag() |
@Nullable ImmutableVcsBambooSpecsSource |
getVcsBambooSpecsSource() |
getAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getLatestResultsSummary, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletion
getBuildKey, getBuildName, getDatabaseId, getId, getMasterId, getMasterIdIfExists, getName, getPlanKey, getPlanType, isSuspendedFromBuilding
getDescription
getOid
getTriggerDefinitions, isSuspended
@Nullable @Nullable ImmutableChain getMaster()
ImmutablePlan
getMaster
in interface ImmutablePlan
Plan
if one exists.NotificationSet getNotificationSet()
NotificationSet
containing notifications for this plan.@NotNull @NotNull List<? extends ImmutableChainStage> getStages()
Note that this excludes ChainStage
s that have been marked for deletion
@NotNull @NotNull List<? extends ImmutableChainStage> getAllStages()
Note that this includes ChainStage
s that have been marked for deletion
boolean containsStage(@Nullable @Nullable String stageName)
stageName
- to check forint getJobCount()
@NotNull @NotNull List<? extends ImmutableJob> getAllJobs()
@NotNull @Deprecated @NotNull List<RepositoryDefinition> getEffectiveRepositoryDefinitions()
List
of repositories available to this plan@NotNull @NotNull List<PlanRepositoryDefinition> getPlanRepositoryDefinitions()
List
of repositories available to this plan@Nullable @Nullable PlanResultKey getLastResultKey()
default BambooEntityType getEntityType()
ImmutableEntityWithOid
BambooEntityOid
.getEntityType
in interface ImmutableEntityWithOid
ChainStorageTag getStorageTag()
@Nullable @Nullable ImmutableVcsBambooSpecsSource getVcsBambooSpecsSource()
@NotNull @NotNull Date getCreationDate()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.