com.atlassian.bamboo.plan.cache
Class ImmutableChainImpl

java.lang.Object
  extended by com.atlassian.bamboo.plan.cache.AbstractImmutablePlan
      extended by com.atlassian.bamboo.plan.cache.AbstractImmutableChain
          extended by com.atlassian.bamboo.plan.cache.ImmutableChainImpl
All Implemented Interfaces:
Chain, BambooIdProvider, BambooObject, Deletable, Describable, ImmutableChain, ImmutableDeletable, ImmutablePlan, ImmutableTopLevelPlan, Plan, PlanIdentifier, TopLevelPlan, DescriptionProvider, NameProvider

public class ImmutableChainImpl
extends AbstractImmutableChain
implements TopLevelPlan

A ImmutableChain implementation that also implements Chain and throws UnsupportedOperationException for mutators.

Since:
v3.4

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
ImmutableChainImpl(Chain chain, BuildLoggerManager buildLoggerManager, ImmutablePlanManager immutablePlanManager, LabelManager labelManager, ResultsSummaryManager resultsSummaryManager, RepositoryDefinitionManager repositoryDefinitionManager, VariableDefinitionManager variableDefinitionManager, BuildDefinitionManager buildDefinitionManager)
           
 
Method Summary
 
Methods inherited from class com.atlassian.bamboo.plan.cache.AbstractImmutableChain
addNewStage, addStage, containsStage, getAllJobs, getAllStages, getEffectiveRepositoryDefinitions, getJobCount, getLastResultKey, getLatestResultsSummary, getMaster, getNotificationSet, getStages, isActive, isBusy, isExecuting, removeStage, setNotificationSet
 
Methods inherited from class com.atlassian.bamboo.plan.cache.AbstractImmutablePlan
compareTo, equals, exceptionOnModification, getAverageBuildDuration, getBuildDefinition, getBuildDefinitionXml, getBuildKey, getBuildLogger, getBuildName, getCurrentStatus, getDescription, getEffectiveVariables, getFirstBuildNumber, getId, getKey, getLabellings, getLabelNames, getLastBuildNumber, getName, getNextBuildNumber, getPlanKey, getPlanType, getProject, getRelatedLabellings, getType, getVariables, hashCode, hasMaster, hasTests, isMarkedForDeletion, isSuspendedFromBuilding, setBuildDefinitionXml, setBuildKey, setBuildName, setDescription, setFirstBuildNumber, setId, setKey, setLabellings, setLastBuildNumber, setMarkedForDeletion, setMaster, setName, setNextBuildNumber, setPlanKey, setProject, setSuspendedFromBuilding, validateBuild
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.chains.Chain
addNewStage, addStage, getAllJobs, getAllStages, getMaster, getStages, removeStage, setNotificationSet
 
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableChain
containsStage, getEffectiveRepositoryDefinitions, getJobCount, getLastResultKey, getNotificationSet
 
Methods inherited from interface com.atlassian.bamboo.plan.Plan
getLabellings, getRelatedLabellings, setBuildDefinitionXml, setBuildKey, setBuildName, setFirstBuildNumber, setKey, setLabellings, setLastBuildNumber, setMaster, setNextBuildNumber, setPlanKey, setProject, setSuspendedFromBuilding, validateBuild
 
Methods inherited from interface com.atlassian.bamboo.Describable
setDescription, setName
 
Methods inherited from interface com.atlassian.bamboo.deletion.Deletable
setMarkedForDeletion
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableDeletable
isMarkedForDeletion
 
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan
getAverageBuildDuration, getBuildDefinition, getBuildDefinitionXml, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getLatestResultsSummary, getNextBuildNumber, getProject, getType, getVariables, hasMaster, hasTests, isActive, isBusy, isExecuting, isMarkedForDeletion
 
Methods inherited from interface com.atlassian.bamboo.plan.PlanIdentifier
getBuildKey, getBuildName, getId, getName, getPlanKey, getPlanType, isSuspendedFromBuilding
 

Constructor Detail

ImmutableChainImpl

public ImmutableChainImpl(@NotNull
                          Chain chain,
                          BuildLoggerManager buildLoggerManager,
                          ImmutablePlanManager immutablePlanManager,
                          LabelManager labelManager,
                          ResultsSummaryManager resultsSummaryManager,
                          RepositoryDefinitionManager repositoryDefinitionManager,
                          VariableDefinitionManager variableDefinitionManager,
                          BuildDefinitionManager buildDefinitionManager)


Copyright © 2012 Atlassian. All Rights Reserved.