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
getPlanKeyFunction, NAME_DELIMITER
getPlanKey
Modifier and Type | Method and Description |
---|---|
boolean |
containsStage(String stageName)
Checks whether or not a stage exists in this chain by stage name.
|
List<? extends ImmutableJob> |
getAllJobs()
Note: Does not include Jobs that are marked for deletion.
|
List<? extends ImmutableChainStage> |
getAllStages()
Get Stages of the Chain
|
Date |
getCreationDate() |
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.
|
PlanResultKey |
getLastResultKey()
Get the latest result key including active (not finished) results
|
ImmutableChain |
getMaster()
Return the master plan if one exists.
|
NotificationSet |
getNotificationSet()
Get notifications defined for this plan.
|
List<PlanRepositoryDefinition> |
getPlanRepositoryDefinitions()
Return list of repositories available to the chain.
|
List<? extends ImmutableChainStage> |
getStages()
Get Stages of the chain.
|
ChainStorageTag |
getStorageTag() |
VcsBambooSpecsSource |
getVcsBambooSpecsSource() |
default VcsLocationBambooSpecsState |
getVcsLocationBambooSpecsState()
Deprecated.
|
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 ImmutableChain getMaster()
ImmutablePlan
getMaster
in interface ImmutablePlan
Plan
if one exists.NotificationSet getNotificationSet()
NotificationSet
containing notifications for this plan.@NotNull List<? extends ImmutableChainStage> getStages()
Note that this excludes ChainStage
s that have been marked for deletion
@NotNull List<? extends ImmutableChainStage> getAllStages()
Note that this includes ChainStage
s that have been marked for deletion
boolean containsStage(@Nullable String stageName)
stageName
- to check forint getJobCount()
@NotNull List<? extends ImmutableJob> getAllJobs()
@NotNull @Deprecated List<RepositoryDefinition> getEffectiveRepositoryDefinitions()
List
of repositories available to this plan@NotNull List<PlanRepositoryDefinition> getPlanRepositoryDefinitions()
List
of repositories available to this plan@Nullable PlanResultKey getLastResultKey()
default BambooEntityType getEntityType()
ImmutableEntityWithOid
BambooEntityOid
.getEntityType
in interface ImmutableEntityWithOid
ChainStorageTag getStorageTag()
@Deprecated @Nullable default VcsLocationBambooSpecsState getVcsLocationBambooSpecsState()
getVcsBambooSpecsSource()
@Nullable VcsBambooSpecsSource getVcsBambooSpecsSource()
@NotNull Date getCreationDate()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.