Package com.atlassian.bamboo.plan.cache
Class ImmutableChainImpl
java.lang.Object
com.atlassian.bamboo.plan.cache.AbstractImmutablePlan
com.atlassian.bamboo.plan.cache.AbstractImmutableChain
com.atlassian.bamboo.plan.cache.ImmutableChainImpl
- All Implemented Interfaces:
BambooIdProvider
,ImmutableEntityWithOid
,ImmutableChain
,ImmutableDeletable
,ImmutablePlan
,ImmutableTopLevelPlan
,PlanIdentifier
,PlanKeyProvider
,Triggerable
,DescriptionProvider
,NameProvider
,Versionable
,Comparable<ImmutablePlan>
A
ImmutableChain
implementation.- Since:
- v3.4
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.bamboo.plan.cache.AbstractImmutableChain
AbstractImmutableChain.VcsBambooSpecsSourceResettableLazyReference
-
Field Summary
Fields inherited from class com.atlassian.bamboo.plan.cache.AbstractImmutablePlan
averageBuildDuration, buildDefinition, immutableResultsSummaryAccessor
Fields inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan
MAX_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESS
Fields inherited from interface com.atlassian.bamboo.plan.PlanIdentifier
NAME_DELIMITER
Fields inherited from interface com.atlassian.bamboo.plan.PlanKeyProvider
getPlanKey
-
Constructor Summary
ConstructorDescriptionImmutableChainImpl
(@NotNull Chain chain, BuildLoggerManager buildLoggerManager, ImmutablePlanCacheService immutablePlanCacheService, ImmutablePlanManager immutablePlanManager, LabelDao labelDao, InternalResultsSummaryAccessor immutableResultsSummaryAccessor, RepositoryDefinitionManager repositoryDefinitionManager, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager, VariableDefinitionManager variableDefinitionManager, BambooSpecsSourceDao bambooSpecsSourceDao, @NotNull BuildDefinition buildDefinition) -
Method Summary
Modifier and TypeMethodDescriptionstatic ImmutableChainImpl
createImmutableChainBasedOnFlatData
(EnrichedPlanDto dto, List<FlatChainStageDto> chainStages, Map<Long, List<EnrichedPlanDto>> jobsGroupedByStageId, Map<Long, EnrichedPlanDto> jobsGroupedById, BuildLoggerManager buildLoggerManager, ImmutablePlanCacheService immutablePlanCacheService, ImmutablePlanManager immutablePlanManager, InternalResultsSummaryAccessor immutableResultsSummaryAccessor, RepositoryDefinitionManager repositoryDefinitionManager, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager, VariableDefinitionManager variableDefinitionManager, BambooSpecsSourceDao bambooSpecsSourceDao, NotificationManager notificationManager, BuildDefinitionManager buildDefinitionManager) Methods inherited from class com.atlassian.bamboo.plan.cache.AbstractImmutableChain
containsStage, getAllJobs, getAllStages, getCreationDate, getEffectiveRepositoryDefinitions, getJobCount, getLastResultKey, getLatestResultsSummary, getMaster, getNotificationSet, getPlanRepositoryDefinitions, getStages, getStorageTag, getTriggerDefinitions, getVcsBambooSpecsSource, isActive, isBusy, isExecuting, isSuspended, resetLatestResultsSummary, resetPlanRepositoryDefinitions, resetVcsBambooSpecsSource, resetVcsBambooSpecsSource
Methods inherited from class com.atlassian.bamboo.plan.cache.AbstractImmutablePlan
compareTo, equals, exceptionOnModification, getAverageBuildDuration, getBuildDefinition, getBuildKey, getBuildLogger, getBuildName, getCurrentStatus, getDatabaseId, getDescription, getEffectiveVariables, getFirstBuildNumber, getId, getKey, getLabellings, getLabelNames, getLastBuildNumber, getMasterId, getMasterIdIfExists, getName, getOid, getPlanKey, getPlanType, getProject, getRelatedLabellings, getType, getVariables, getVersion, hashCode, hasMaster, isMarkedForDeletion, isSuspendedFromBuilding, resetLatestResultsSummary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescription
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableChain
containsStage, getAllJobs, getAllStages, getCreationDate, getEffectiveRepositoryDefinitions, getEntityType, getJobCount, getLastResultKey, getMaster, getNotificationSet, getPlanRepositoryDefinitions, getStages, getStorageTag, getVcsBambooSpecsSource
Methods inherited from interface com.atlassian.bamboo.core.ImmutableEntityWithOid
getOid
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan
getAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getLatestResultsSummary, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletion
Methods inherited from interface com.atlassian.bamboo.plan.PlanIdentifier
getBuildKey, getBuildName, getDatabaseId, getId, getMasterId, getMasterIdIfExists, getName, getPlanKey, getPlanType, isSuspendedFromBuilding
Methods inherited from interface com.atlassian.bamboo.trigger.Triggerable
getTriggerDefinitions, isSuspended
Methods inherited from interface com.atlassian.bamboo.versioning.Versionable
getVersion
-
Constructor Details
-
ImmutableChainImpl
public ImmutableChainImpl(@NotNull @NotNull Chain chain, BuildLoggerManager buildLoggerManager, ImmutablePlanCacheService immutablePlanCacheService, ImmutablePlanManager immutablePlanManager, LabelDao labelDao, InternalResultsSummaryAccessor immutableResultsSummaryAccessor, RepositoryDefinitionManager repositoryDefinitionManager, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager, VariableDefinitionManager variableDefinitionManager, BambooSpecsSourceDao bambooSpecsSourceDao, @NotNull @NotNull BuildDefinition buildDefinition)
-
-
Method Details
-
createImmutableChainBasedOnFlatData
public static ImmutableChainImpl createImmutableChainBasedOnFlatData(EnrichedPlanDto dto, List<FlatChainStageDto> chainStages, Map<Long, List<EnrichedPlanDto>> jobsGroupedByStageId, Map<Long, EnrichedPlanDto> jobsGroupedById, BuildLoggerManager buildLoggerManager, ImmutablePlanCacheService immutablePlanCacheService, ImmutablePlanManager immutablePlanManager, InternalResultsSummaryAccessor immutableResultsSummaryAccessor, RepositoryDefinitionManager repositoryDefinitionManager, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager, VariableDefinitionManager variableDefinitionManager, BambooSpecsSourceDao bambooSpecsSourceDao, NotificationManager notificationManager, BuildDefinitionManager buildDefinitionManager)
-