public class ImmutableChainBranchImpl extends AbstractImmutableChain implements ImmutableChainBranch
averageBuildDuration, buildDefinition, resultsSummaryManagerMAX_NUMBER_LOG_ENTRIES, MAX_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESSNAME_DELIMITERgetPlanKey| 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, resetVcsBambooSpecsSourcecompareTo, 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, resetLatestResultsSummaryclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcontainsStage, getAllJobs, getAllStages, getCreationDate, getEffectiveRepositoryDefinitions, getEntityType, getJobCount, getLastResultKey, getMaster, getNotificationSet, getPlanRepositoryDefinitions, getStages, getStorageTag, getVcsBambooSpecsSourcegetAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getLatestResultsSummary, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletiongetBuildKey, getBuildName, getDatabaseId, getId, getMasterId, getMasterIdIfExists, getName, getPlanKey, getPlanType, isSuspendedFromBuildinggetDescriptiongetOidgetTriggerDefinitions, isSuspendedpublic 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 ImmutableChainBranchpublic String getLinkedJiraIssue()
ChainBranchIdentifiergetLinkedJiraIssue in interface ChainBranchIdentifierpublic boolean isRemoteJiraLinkRequired()
ChainBranchIdentifierisRemoteJiraLinkRequired in interface ChainBranchIdentifierpublic boolean isDivergent()
ImmutableChainBranchisDivergent in interface ImmutableChainBranch@NotNull public @NotNull PlanBranchMetadata getMetadata()
getMetadata in interface ImmutableChainBranchCopyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.