com.atlassian.bamboo.plan.branch.cache
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, ChainBranchIdentifier, ImmutableChain, ImmutableChainBranch, ImmutablePlan, PlanIdentifier, PlanKeyProvider, Triggerable, DescriptionProvider, NameProvider
public class ImmutableChainBranchImpl
- extends AbstractImmutableChain
- implements ImmutableChainBranch
Methods inherited from class com.atlassian.bamboo.plan.cache.AbstractImmutableChain |
containsStage, getAllJobs, getAllStages, getEffectiveRepositoryDefinitions, getJobCount, getLastResultKey, getLatestResultsSummary, getMaster, getNotificationSet, getStages, getTriggerDefinitions, getTriggers, isActive, isBusy, isExecuting, isSuspended |
Methods inherited from class com.atlassian.bamboo.plan.cache.AbstractImmutablePlan |
compareTo, equals, exceptionOnModification, getAverageBuildDuration, getBuildDefinition, getBuildKey, getBuildLogger, getBuildName, getCurrentStatus, getDescription, getEffectiveVariables, getFirstBuildNumber, getId, getKey, getLabellings, getLabelNames, getLastBuildNumber, getName, getNextBuildNumber, getPlanKey, getPlanType, getProject, getRelatedLabellings, getType, getVariables, hashCode, hasMaster, isMarkedForDeletion, isSuspendedFromBuilding |
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan |
getAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getLatestResultsSummary, getNextBuildNumber, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletion |
ImmutableChainBranchImpl
public ImmutableChainBranchImpl(ChainBranch chainBranch,
BuildLoggerManager buildLoggerManager,
ImmutablePlanCacheService immutablePlanCacheService,
ImmutablePlanManager immutablePlanManager,
LabelManager labelManager,
ResultsSummaryManager resultsSummaryManager,
RepositoryDefinitionManager repositoryDefinitionManager,
VariableDefinitionManager variableDefinitionManager,
BuildDefinition buildDefinition)
getMasterId
public long getMasterId()
- Description copied from interface:
PlanIdentifier
- Database id of master of this ChainBranch
- Specified by:
getMasterId
in interface PlanIdentifier
- Overrides:
getMasterId
in class AbstractImmutablePlan
- Returns:
getCommitInformation
public BranchCommitInformation getCommitInformation()
- Specified by:
getCommitInformation
in interface ImmutableChainBranch
getLinkedJiraIssue
public String getLinkedJiraIssue()
- Description copied from interface:
ChainBranchIdentifier
- Branches can be linked to a specific jira issue. This is the issue key of that issue.
- Specified by:
getLinkedJiraIssue
in interface ChainBranchIdentifier
- Returns:
isRemoteJiraLinkRequired
public boolean isRemoteJiraLinkRequired()
- Description copied from interface:
ChainBranchIdentifier
- Stores whether a JIRA Issue exists but the remote issue link has not successfully been created for this branch
- Specified by:
isRemoteJiraLinkRequired
in interface ChainBranchIdentifier
- Returns:
- true if a remote issue link has not yet been created.
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.