@Entity public class ChainBranchImpl extends AbstractChain implements ChainBranch
master, NUMBER_OF_RESULTS
resultsSummaryManager
MAX_NUMBER_LOG_ENTRIES, MAX_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESS
Constructor and Description |
---|
ChainBranchImpl() |
Modifier and Type | Method and Description |
---|---|
static List<PlanRepositoryDefinition> |
createEffectivePlanRepositoryDefinitions(List<PlanRepositoryDefinition> branchRepositories,
List<PlanRepositoryDefinition> masterRepositories) |
BranchCommitInformation |
getCommitInformation() |
List<RepositoryDefinition> |
getEffectiveRepositoryDefinitions()
Return list of repositories available to the chain.
|
String |
getLinkedJiraIssue()
Branches can be linked to a specific jira issue.
|
Chain |
getMaster()
Return the master plan if one exists.
|
NotificationSet |
getNotificationSet()
Get notifications defined for this plan.
|
List<PlanRepositoryDefinition> |
getPlanRepositoryDefinitions()
Return list of repositories available to the chain.
|
PlanType |
getPlanType() |
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
|
void |
setCommitInformation(BranchCommitInformation commitInformation) |
void |
setDivergent(boolean divergent) |
void |
setLinkedJiraIssue(String linkedJiraIssue) |
void |
setMaster(Plan master)
Set which plan is the master of this plan.
|
void |
setRemoteJiraLinkRequired(boolean remoteJiraIssueLinkRequired) |
addNewStage, addStage, containsStage, getAllJobs, getAllStages, getAverageBuildDuration, getCurrentStatus, getJobCount, getLastResultKey, getNotificationSetField, getStages, getStorageTag, getTriggerDefinitions, getVcsBambooSpecsSource, isActive, isExecuting, isSuspended, removeStage, setAllStages, setChainExecutionManager, setNotificationSet, setRepositoryDefinitionManager, setStorageTag, setVcsBambooSpecsSource
compareTo, equals, getBuildDefinition, getBuildDefinitionXml, getBuildKey, getBuildLogger, getBuildName, getDatabaseId, getDescription, getDiscriminator, getEffectiveVariables, getFirstBuildNumber, getKey, getLabellings, getLabelNames, getLastBuildNumber, getLatestResultsSummary, getMasterId, getMasterIdIfExists, getName, getPlanKey, getProject, getRelatedLabellings, getTestClasses, getType, getVariables, hashCode, hasMaster, isBusy, isMarkedForDeletion, isSuspendedFromBuilding, setBuildDefinitionManager, setBuildDefinitionXml, setBuildKey, setBuildLoggerManager, setBuildName, setDescription, setDiscriminator, setKey, setLabellings, setLabelManager, setMarkedForDeletion, setName, setPlanExecutionManager, setPlanKey, setProject, setResultsSummaryManager, setSuspendedFromBuilding, setTestClasses, setVariableDefinitionManager
getId, getOid, setId, setOid
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addNewStage, addStage, getAllJobs, getAllStages, getStages, removeStage, setNotificationSet, setStorageTag
getBuildDefinitionXml, getLabellings, getLatestResultsSummary, getRelatedLabellings, setBuildDefinitionXml, setBuildKey, setBuildName, setKey, setLabellings, setPlanKey, setProject, setSuspendedFromBuilding
setOid
getOid
setDescription, setName
setMarkedForDeletion
setId
isMarkedForDeletion
containsStage, getCreationDate, getEntityType, getJobCount, getLastResultKey, getStorageTag, getVcsBambooSpecsSource
getAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletion
getTriggerDefinitions, isSuspended
@NotNull public Chain getMaster()
ImmutablePlan
getMaster
in interface Chain
getMaster
in interface ImmutableChain
getMaster
in interface ImmutablePlan
getMaster
in class AbstractChain
Plan
if one exists.@NotNull public PlanType getPlanType()
getPlanType
in interface PlanIdentifier
public void setCommitInformation(@Nullable BranchCommitInformation commitInformation)
setCommitInformation
in interface ChainBranch
public BranchCommitInformation getCommitInformation()
getCommitInformation
in interface ImmutableChainBranch
public String getLinkedJiraIssue()
ChainBranchIdentifier
getLinkedJiraIssue
in interface ChainBranchIdentifier
public void setLinkedJiraIssue(String linkedJiraIssue)
setLinkedJiraIssue
in interface ChainBranch
public boolean isRemoteJiraLinkRequired()
ChainBranchIdentifier
isRemoteJiraLinkRequired
in interface ChainBranchIdentifier
public void setRemoteJiraLinkRequired(boolean remoteJiraIssueLinkRequired)
setRemoteJiraLinkRequired
in interface ChainBranch
@NotNull public List<RepositoryDefinition> getEffectiveRepositoryDefinitions()
ImmutableChain
getEffectiveRepositoryDefinitions
in interface ImmutableChain
getEffectiveRepositoryDefinitions
in class AbstractChain
List
of repositories available to this plan@NotNull public List<PlanRepositoryDefinition> getPlanRepositoryDefinitions()
ImmutableChain
getPlanRepositoryDefinitions
in interface ImmutableChain
getPlanRepositoryDefinitions
in class AbstractChain
List
of repositories available to this planpublic static List<PlanRepositoryDefinition> createEffectivePlanRepositoryDefinitions(List<PlanRepositoryDefinition> branchRepositories, List<PlanRepositoryDefinition> masterRepositories)
public NotificationSet getNotificationSet()
ImmutableChain
getNotificationSet
in interface ImmutableChain
getNotificationSet
in class AbstractChain
NotificationSet
containing notifications for this plan.public void setMaster(@NotNull Plan master)
Plan
setMaster
in interface ChainBranch
setMaster
in interface Plan
public boolean isDivergent()
ImmutableChainBranch
isDivergent
in interface ImmutableChainBranch
public void setDivergent(boolean divergent)
setDivergent
in interface ChainBranch
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.