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_SUCCESSgetPlanKeyFunctiongetPlanKey| 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
Note that this includes
ChainStages that have been marked for deletion |
List<RepositoryDefinition> |
getEffectiveRepositoryDefinitions()
Return list of repositories available to the chain.
|
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<? extends ImmutableChainStage> |
getStages()
Get Stages of the chain.
|
getAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getLatestResultsSummary, getNextBuildNumber, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletiongetBuildKey, getBuildName, getId, getMasterId, getName, getPlanKey, getPlanType, isSuspendedFromBuildinggetDescriptiongetTriggerDefinitions, getTriggers, isSuspended@Nullable ImmutableChain getMaster()
ImmutablePlangetMaster in interface ImmutablePlanPlan if one exists.NotificationSet getNotificationSet()
NotificationSet containing notifications for this plan.@NotNull List<? extends ImmutableChainStage> getStages()
ChainStages that have been marked for deletion@NotNull List<? extends ImmutableChainStage> getAllStages()
ChainStages that have been marked for deletionboolean containsStage(@Nullable
String stageName)
stageName - to check forint getJobCount()
@NotNull List<? extends ImmutableJob> getAllJobs()
@NotNull List<RepositoryDefinition> getEffectiveRepositoryDefinitions()
List of repositories available to this plan@Nullable PlanResultKey getLastResultKey()
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.