|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.plan.cache.AbstractImmutablePlan com.atlassian.bamboo.plan.cache.AbstractImmutableChain
public class AbstractImmutableChain
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.plan.cache.AbstractImmutablePlan |
---|
averageBuildDuration, resultsSummaryManager |
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 |
Constructor Summary | |
---|---|
AbstractImmutableChain(Chain chain,
BuildLoggerManager buildLoggerManager,
ImmutablePlanCacheService immutablePlanCacheService,
ImmutablePlanManager immutablePlanManager,
LabelManager labelManager,
ResultsSummaryManager resultsSummaryManager,
RepositoryDefinitionManager repositoryDefinitionManager,
VariableDefinitionManager variableDefinitionManager,
BuildDefinition buildDefinition)
|
|
AbstractImmutableChain(Chain chain,
BuildLoggerManager buildLoggerManager,
ImmutablePlanCacheService immutablePlanCacheService,
ImmutablePlanManager immutablePlanManager,
LabelManager labelManager,
ResultsSummaryManager resultsSummaryManager,
RepositoryDefinitionManager repositoryDefinitionManager,
VariableDefinitionManager variableDefinitionManager,
BuildDefinitionManager buildDefinitionManager)
Deprecated. |
Method Summary | |
---|---|
boolean |
containsStage(java.lang.String stageName)
Checks whether or not a stage exists in this chain by stage name. |
com.google.common.collect.ImmutableList<ImmutableJob> |
getAllJobs()
Note: Does not include Jobs that are marked for deletion. |
com.google.common.collect.ImmutableList<ImmutableChainStage> |
getAllStages()
Get Stages of the Chain Note that this includes ChainStage s that have been marked for deletion |
com.google.common.collect.ImmutableList<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 |
ImmutableResultsSummary |
getLatestResultsSummary()
Get the latest finished result |
ImmutableChain |
getMaster()
Return the master plan if one exists. |
NotificationSet |
getNotificationSet()
Get notifications defined for this plan. |
com.google.common.collect.ImmutableList<ImmutableChainStage> |
getStages()
Get Stages of the chain. |
java.util.List<BuildStrategy> |
getTriggers()
|
boolean |
isActive()
Is the plan queued or building? |
boolean |
isBusy()
Is the Plan "busy". |
boolean |
isExecuting()
Is the build currently being executed? |
boolean |
isSuspended()
|
Methods inherited from class com.atlassian.bamboo.plan.cache.AbstractImmutablePlan |
---|
compareTo, equals, exceptionOnModification, getAverageBuildDuration, getBuildDefinition, getBuildKey, getBuildLogger, getBuildName, getCurrentStatus, getDescription, getEffectiveVariables, getFirstBuildNumber, getId, getKey, getLabellings, getLabelNames, getLastBuildNumber, getMasterId, getName, getNextBuildNumber, getPlanKey, getPlanType, getProject, getRelatedLabellings, getType, getVariables, hashCode, hasMaster, isMarkedForDeletion, isSuspendedFromBuilding |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan |
---|
getAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getNextBuildNumber, getProject, getType, getVariables, hasMaster, 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 |
Constructor Detail |
---|
public AbstractImmutableChain(@NotNull Chain chain, BuildLoggerManager buildLoggerManager, ImmutablePlanCacheService immutablePlanCacheService, ImmutablePlanManager immutablePlanManager, LabelManager labelManager, ResultsSummaryManager resultsSummaryManager, RepositoryDefinitionManager repositoryDefinitionManager, VariableDefinitionManager variableDefinitionManager, @NotNull BuildDefinition buildDefinition)
@Deprecated public AbstractImmutableChain(@NotNull Chain chain, BuildLoggerManager buildLoggerManager, ImmutablePlanCacheService immutablePlanCacheService, ImmutablePlanManager immutablePlanManager, LabelManager labelManager, ResultsSummaryManager resultsSummaryManager, RepositoryDefinitionManager repositoryDefinitionManager, VariableDefinitionManager variableDefinitionManager, BuildDefinitionManager buildDefinitionManager)
Method Detail |
---|
public boolean isActive()
ImmutablePlan
isActive
in interface ImmutablePlan
public boolean isExecuting()
ImmutablePlan
isExecuting
in interface ImmutablePlan
public PlanResultKey getLastResultKey()
ImmutableChain
getLastResultKey
in interface ImmutableChain
public ImmutableResultsSummary getLatestResultsSummary()
ImmutablePlan
getLatestResultsSummary
in interface ImmutablePlan
public boolean isBusy()
ImmutablePlan
Plan
"busy". Busy is defined by the plan having a lock held on it. This is done during change
detection, dependency listner and the like
isBusy
in interface ImmutablePlan
@NotNull public com.google.common.collect.ImmutableList<ImmutableChainStage> getStages()
ImmutableChain
ChainStage
s that have been marked for deletion
getStages
in interface ImmutableChain
@NotNull public com.google.common.collect.ImmutableList<ImmutableChainStage> getAllStages()
ImmutableChain
ChainStage
s that have been marked for deletion
getAllStages
in interface ImmutableChain
public int getJobCount()
ImmutableChain
getJobCount
in interface ImmutableChain
@NotNull public com.google.common.collect.ImmutableList<ImmutableJob> getAllJobs()
ImmutableChain
getAllJobs
in interface ImmutableChain
public boolean containsStage(@Nullable java.lang.String stageName)
ImmutableChain
containsStage
in interface ImmutableChain
stageName
- to check for
@NotNull public com.google.common.collect.ImmutableList<RepositoryDefinition> getEffectiveRepositoryDefinitions()
ImmutableChain
getEffectiveRepositoryDefinitions
in interface ImmutableChain
List
of repositories available to this planpublic NotificationSet getNotificationSet()
ImmutableChain
getNotificationSet
in interface ImmutableChain
NotificationSet
containing notifications for this plan.public ImmutableChain getMaster()
ImmutablePlan
getMaster
in interface ImmutableChain
getMaster
in interface ImmutablePlan
Plan
if one exists.public boolean isSuspended()
isSuspended
in interface Triggerable
@NotNull public java.util.List<BuildStrategy> getTriggers()
getTriggers
in interface Triggerable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |