public class ImmutableChainBranchImpl extends AbstractImmutableChain implements ImmutableChainBranch
averageBuildDuration, buildDefinition, resultsSummaryManager
MAX_NUMBER_LOG_ENTRIES, MAX_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESS
NAME_DELIMITER
getPlanKey
Constructor and Description |
---|
ImmutableChainBranchImpl(ChainBranch chainBranch,
BuildLoggerManager buildLoggerManager,
ImmutablePlanCacheService immutablePlanCacheService,
ImmutablePlanManager immutablePlanManager,
LabelManager labelManager,
ResultsSummaryManager resultsSummaryManager,
RepositoryDefinitionManager repositoryDefinitionManager,
CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager,
VariableDefinitionManager variableDefinitionManager,
@NotNull BuildDefinition buildDefinition) |
Modifier and Type | Method and Description |
---|---|
static ImmutableChainBranchImpl |
createImmutableChainBranchBasedOnFlatData(EnrichedPlanDto dto,
List<FlatChainStageDto> chainStages,
Map<Long,List<EnrichedPlanDto>> jobsGroupedByStageId,
Map<Long,EnrichedPlanDto> jobsGroupedById,
Pair<ImmutableChain,EnrichedPlanDto> masterWithMasterDto,
BuildLoggerManager buildLoggerManager,
ImmutablePlanCacheService immutablePlanCacheService,
ImmutablePlanManager immutablePlanManager,
ResultsSummaryManager resultsSummaryManager,
RepositoryDefinitionManager repositoryDefinitionManager,
CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager,
VariableDefinitionManager variableDefinitionManager,
BambooSpecsManager bambooSpecsManager,
NotificationManager notificationManager,
BuildDefinitionManager buildDefinitionManager) |
BranchCommitInformation |
getCommitInformation() |
String |
getLinkedJiraIssue()
Branches can be linked to a specific jira issue.
|
@NotNull PlanBranchMetadata |
getMetadata() |
boolean |
isDivergent()
Is branch divergent.
|
boolean |
isRemoteJiraLinkRequired()
Stores whether a JIRA Issue exists but the remote issue link has not successfully been created for this branch
|
containsStage, getAllJobs, getAllStages, getCreationDate, getEffectiveRepositoryDefinitions, getJobCount, getLastResultKey, getLatestResultsSummary, getMaster, getNotificationSet, getPlanRepositoryDefinitions, getStages, getStorageTag, getTriggerDefinitions, getVcsBambooSpecsSource, isActive, isBusy, isExecuting, isSuspended, resetLatestResultsSummary, resetPlanRepositoryDefinitions, resetVcsBambooSpecsSource
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, hashCode, hasMaster, isMarkedForDeletion, isSuspendedFromBuilding, resetLatestResultsSummary
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
containsStage, getAllJobs, getAllStages, getCreationDate, getEffectiveRepositoryDefinitions, getEntityType, getJobCount, getLastResultKey, getMaster, getNotificationSet, getPlanRepositoryDefinitions, getStages, getStorageTag, getVcsBambooSpecsSource
getAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getLatestResultsSummary, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletion
getBuildKey, getBuildName, getDatabaseId, getId, getMasterId, getMasterIdIfExists, getName, getPlanKey, getPlanType, isSuspendedFromBuilding
getDescription
getOid
getTriggerDefinitions, isSuspended
public ImmutableChainBranchImpl(ChainBranch chainBranch, BuildLoggerManager buildLoggerManager, ImmutablePlanCacheService immutablePlanCacheService, ImmutablePlanManager immutablePlanManager, LabelManager labelManager, ResultsSummaryManager resultsSummaryManager, RepositoryDefinitionManager repositoryDefinitionManager, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager, VariableDefinitionManager variableDefinitionManager, @NotNull @NotNull BuildDefinition buildDefinition)
public static ImmutableChainBranchImpl createImmutableChainBranchBasedOnFlatData(EnrichedPlanDto dto, List<FlatChainStageDto> chainStages, Map<Long,List<EnrichedPlanDto>> jobsGroupedByStageId, Map<Long,EnrichedPlanDto> jobsGroupedById, Pair<ImmutableChain,EnrichedPlanDto> masterWithMasterDto, BuildLoggerManager buildLoggerManager, ImmutablePlanCacheService immutablePlanCacheService, ImmutablePlanManager immutablePlanManager, ResultsSummaryManager resultsSummaryManager, RepositoryDefinitionManager repositoryDefinitionManager, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager, VariableDefinitionManager variableDefinitionManager, BambooSpecsManager bambooSpecsManager, NotificationManager notificationManager, BuildDefinitionManager buildDefinitionManager)
public BranchCommitInformation getCommitInformation()
getCommitInformation
in interface ImmutableChainBranch
public String getLinkedJiraIssue()
ChainBranchIdentifier
getLinkedJiraIssue
in interface ChainBranchIdentifier
public boolean isRemoteJiraLinkRequired()
ChainBranchIdentifier
isRemoteJiraLinkRequired
in interface ChainBranchIdentifier
public boolean isDivergent()
ImmutableChainBranch
isDivergent
in interface ImmutableChainBranch
@NotNull public @NotNull PlanBranchMetadata getMetadata()
getMetadata
in interface ImmutableChainBranch
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.