|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImmutableChain
Represents a Chain
that is immutable. Since 3.4, all new uses of Chains should prefer this interface
to improve cacheability.
Field Summary |
---|
Fields inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan |
---|
MAX_NUMBER_LOG_ENTRIES, MAX_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESS |
Method Summary | |
---|---|
boolean |
containsStage(java.lang.String stageName)
Checks whether or not a stage exists in this chain by stage name. |
java.util.List<? extends ImmutableJob> |
getAllJobs()
Note: Does not include Jobs that are marked for deletion. |
java.util.List<? extends ImmutableChainStage> |
getAllStages()
Get Stages of the Chain Note that this includes ChainStage s that have been marked for deletion |
java.util.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 |
NotificationSet |
getNotificationSet()
Get notifications defined for this plan. |
java.util.List<? extends ImmutableChainStage> |
getStages()
Get Stages of the chain. |
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan |
---|
getAverageBuildDuration, getBuildDefinition, getBuildDefinitionXml, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getLatestResultsSummary, getMaster, getNextBuildNumber, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletion |
Methods inherited from interface com.atlassian.bamboo.plan.PlanIdentifier |
---|
getBuildKey, getBuildName, getId, getMasterId, getName, getPlanKey, getPlanType, isSuspendedFromBuilding |
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider |
---|
getDescription |
Method Detail |
---|
NotificationSet getNotificationSet()
NotificationSet
containing notifications for this plan.@NotNull java.util.List<? extends ImmutableChainStage> getStages()
ChainStage
s that have been marked for deletion
@NotNull java.util.List<? extends ImmutableChainStage> getAllStages()
ChainStage
s that have been marked for deletion
boolean containsStage(@Nullable java.lang.String stageName)
stageName
- to check for
int getJobCount()
@NotNull java.util.List<? extends ImmutableJob> getAllJobs()
@NotNull java.util.List<RepositoryDefinition> getEffectiveRepositoryDefinitions()
List
of repositories available to this plan@Nullable PlanResultKey getLastResultKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |