Class ImmutableChainBranchImpl
java.lang.Object
com.atlassian.bamboo.plan.cache.AbstractImmutablePlan
com.atlassian.bamboo.plan.cache.AbstractImmutableChain
com.atlassian.bamboo.plan.branch.cache.ImmutableChainBranchImpl
- All Implemented Interfaces:
BambooIdProvider,ImmutableEntityWithOid,ChainBranchIdentifier,ImmutableChain,ImmutableChainBranch,ImmutableDeletable,ImmutablePlan,PlanIdentifier,PlanKeyProvider,Triggerable,DescriptionProvider,NameProvider,Versionable,Comparable<ImmutablePlan>
public class ImmutableChainBranchImpl
extends AbstractImmutableChain
implements ImmutableChainBranch
-
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, immutableResultsSummaryAccessorFields 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_SUCCESSFields inherited from interface com.atlassian.bamboo.plan.PlanIdentifier
NAME_DELIMITERFields inherited from interface com.atlassian.bamboo.plan.PlanKeyProvider
getPlanKey -
Method Summary
Modifier and TypeMethodDescriptionstatic ImmutableChainBranchImplcreateImmutableChainBranchBasedOnFlatData(EnrichedPlanDto dto, List<FlatChainStageDto> chainStages, Map<Long, List<EnrichedPlanDto>> jobsGroupedByStageId, Pair<ImmutableChain, EnrichedPlanDto> masterWithMasterDto, BuildLoggerManager buildLoggerManager, ImmutablePlanCacheService immutablePlanCacheService, ImmutablePlanManager immutablePlanManager, InternalResultsSummaryAccessor immutableResultsSummaryAccessor, RepositoryDefinitionManager repositoryDefinitionManager, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager, VariableDefinitionManager variableDefinitionManager, BambooSpecsSourceDao bambooSpecsSourceDao, NotificationManager notificationManager, BuildDefinitionManager buildDefinitionManager) static ImmutableChainBranchImplcreateImmutableChainBranchOnCacheReload(EnrichedPlanDto dto, ImmutableChain masterChain, List<FlatChainStageDto> chainStages, Map<Long, List<EnrichedPlanDto>> jobsGroupedByStageId, BuildLoggerManager buildLoggerManager, ImmutablePlanCacheService immutablePlanCacheService, ImmutablePlanManager immutablePlanManager, InternalResultsSummaryAccessor immutableResultsSummaryAccessor, RepositoryDefinitionManager repositoryDefinitionManager, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager, VariableDefinitionManager variableDefinitionManager, BambooSpecsSourceDao bambooSpecsSourceDao, NotificationManager notificationManager, BuildDefinitionManager buildDefinitionManager) Branches can be linked to a specific jira issue.@NotNull PlanBranchMetadataGet notifications defined for this plan.booleanIs branch divergent.booleanStores whether a JIRA Issue exists but the remote issue link has not successfully been created for this branchMethods inherited from class com.atlassian.bamboo.plan.cache.AbstractImmutableChain
containsStage, getAllJobs, getAllStages, getCreationDate, getJobCount, getLastResultKey, getLatestResultsSummary, getMaster, getPlanRepositoryDefinitions, getStages, getStorageTag, getTriggerDefinitions, getVcsBambooSpecsSource, isActive, isBusy, isExecuting, isSuspended, resetLatestResultsSummary, resetPlanRepositoryDefinitions, resetVcsBambooSpecsSource, resetVcsBambooSpecsSourceMethods 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, resetLatestResultsSummaryMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescriptionMethods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableChain
containsStage, getAllJobs, getAllStages, getCreationDate, getEntityType, getJobCount, getLastResultKey, getMaster, getPlanRepositoryDefinitions, getStages, getStorageTag, getVcsBambooSpecsSourceMethods inherited from interface com.atlassian.bamboo.core.ImmutableEntityWithOid
getOidMethods 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, isMarkedForDeletionMethods inherited from interface com.atlassian.bamboo.plan.PlanIdentifier
getBuildKey, getBuildName, getDatabaseId, getId, getMasterId, getMasterIdIfExists, getName, getPlanKey, getPlanType, isSuspendedFromBuildingMethods inherited from interface com.atlassian.bamboo.trigger.Triggerable
getTriggerDefinitions, isSuspendedMethods inherited from interface com.atlassian.bamboo.versioning.Versionable
getVersion
-
Method Details
-
createImmutableChainBranchBasedOnFlatData
public static ImmutableChainBranchImpl createImmutableChainBranchBasedOnFlatData(EnrichedPlanDto dto, List<FlatChainStageDto> chainStages, Map<Long, List<EnrichedPlanDto>> jobsGroupedByStageId, Pair<ImmutableChain, EnrichedPlanDto> masterWithMasterDto, BuildLoggerManager buildLoggerManager, ImmutablePlanCacheService immutablePlanCacheService, ImmutablePlanManager immutablePlanManager, InternalResultsSummaryAccessor immutableResultsSummaryAccessor, RepositoryDefinitionManager repositoryDefinitionManager, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager, VariableDefinitionManager variableDefinitionManager, BambooSpecsSourceDao bambooSpecsSourceDao, NotificationManager notificationManager, BuildDefinitionManager buildDefinitionManager) -
createImmutableChainBranchOnCacheReload
public static ImmutableChainBranchImpl createImmutableChainBranchOnCacheReload(EnrichedPlanDto dto, ImmutableChain masterChain, List<FlatChainStageDto> chainStages, Map<Long, List<EnrichedPlanDto>> jobsGroupedByStageId, BuildLoggerManager buildLoggerManager, ImmutablePlanCacheService immutablePlanCacheService, ImmutablePlanManager immutablePlanManager, InternalResultsSummaryAccessor immutableResultsSummaryAccessor, RepositoryDefinitionManager repositoryDefinitionManager, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager, VariableDefinitionManager variableDefinitionManager, BambooSpecsSourceDao bambooSpecsSourceDao, NotificationManager notificationManager, BuildDefinitionManager buildDefinitionManager) -
getNotificationSet
Description copied from interface:ImmutableChainGet notifications defined for this plan.- Specified by:
getNotificationSetin interfaceImmutableChain- Overrides:
getNotificationSetin classAbstractImmutableChain- Returns:
NotificationSetcontaining notifications for this plan.
-
getCommitInformation
- Specified by:
getCommitInformationin interfaceImmutableChainBranch
-
getLinkedJiraIssue
Description copied from interface:ChainBranchIdentifierBranches can be linked to a specific jira issue. This is the issue key of that issue.- Specified by:
getLinkedJiraIssuein interfaceChainBranchIdentifier- Returns:
-
isRemoteJiraLinkRequired
public boolean isRemoteJiraLinkRequired()Description copied from interface:ChainBranchIdentifierStores whether a JIRA Issue exists but the remote issue link has not successfully been created for this branch- Specified by:
isRemoteJiraLinkRequiredin interfaceChainBranchIdentifier- Returns:
- true if a remote issue link has not yet been created.
-
isDivergent
public boolean isDivergent()Description copied from interface:ImmutableChainBranchIs branch divergent.- Specified by:
isDivergentin interfaceImmutableChainBranch
-
getMetadata
- Specified by:
getMetadatain interfaceImmutableChainBranch
-