@Entity public class ChainBranchImpl extends AbstractChain implements ChainBranch
master, NUMBER_OF_RESULTSresultsSummaryManagerMAX_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() |
@NotNull List<RepositoryDefinition> |
getEffectiveRepositoryDefinitions()
Return list of repositories available to the chain.
|
String |
getLinkedJiraIssue()
Branches can be linked to a specific jira issue.
|
@NotNull Chain |
getMaster()
Return the master plan if one exists.
|
NotificationSet |
getNotificationSet()
Get notifications defined for this plan.
|
@NotNull List<PlanRepositoryDefinition> |
getPlanRepositoryDefinitions()
Return list of repositories available to the chain.
|
@NotNull 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(@Nullable BranchCommitInformation commitInformation) |
void |
setDivergent(boolean divergent) |
void |
setLinkedJiraIssue(String linkedJiraIssue) |
void |
setMaster(@NotNull Plan master)
Set which plan is the master of this plan.
|
void |
setRemoteJiraLinkRequired(boolean remoteJiraIssueLinkRequired) |
addNewStage, addStage, addStage, containsStage, getAllJobs, getAllStages, getAverageBuildDuration, getCurrentStatus, getJobCount, getLastResultKey, getNotificationSetField, getStages, getStorageTag, getTriggerDefinitions, getVcsBambooSpecsSource, isActive, isExecuting, isSuspended, removeStage, removeStagesIf, setAllStages, setBambooSpecsManager, setChainExecutionManager, setNotificationSet, setRepositoryDefinitionManager, setStorageTag, setVcsBambooSpecsSourcecompareTo, equals, getBuildDefinition, getBuildDefinitionXml, getBuildKey, getBuildLogger, getBuildName, getDatabaseId, getDescription, getDiscriminator, getEffectiveVariables, getFirstBuildNumber, getKey, getLabellings, getLabelNames, getLastBuildNumber, getLatestResultsSummary, getMasterId, getMasterIdIfExists, getName, getPlanKey, getProject, getRelatedLabellings, getType, getVariables, hashCode, hasMaster, isBusy, isMarkedForDeletion, isSuspendedFromBuilding, setBuildDefinitionManager, setBuildDefinitionXml, setBuildKey, setBuildLoggerManager, setBuildName, setDescription, setDiscriminator, setKey, setLabellings, setLabelManager, setMarkedForDeletion, setName, setPlanExecutionManager, setPlanKey, setProject, setResultsSummaryManager, setSuspendedFromBuilding, setVariableDefinitionManagergetId, getOid, setId, setOidclone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDatefinalize, getClass, notify, notifyAll, toString, wait, wait, waitaddNewStage, addStage, addStage, getAllJobs, getAllStages, getStages, removeStage, removeStagesIf, setNotificationSet, setStorageTaggetBuildDefinitionXml, getLabellings, getLatestResultsSummary, getRelatedLabellings, setBuildDefinitionXml, setBuildKey, setBuildName, setKey, setLabellings, setPlanKey, setProject, setSuspendedFromBuildingsetOidgetOidsetDescription, setNamesetMarkedForDeletionsetIdisMarkedForDeletioncontainsStage, getCreationDate, getEntityType, getJobCount, getLastResultKey, getStorageTag, getVcsBambooSpecsSourcegetAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletiongetTriggerDefinitions, isSuspended@NotNull public @NotNull Chain getMaster()
ImmutablePlangetMaster in interface ChaingetMaster in interface ImmutableChaingetMaster in interface ImmutablePlangetMaster in class AbstractChainPlan if one exists.@NotNull public @NotNull PlanType getPlanType()
getPlanType in interface PlanIdentifierpublic void setCommitInformation(@Nullable
@Nullable BranchCommitInformation commitInformation)
setCommitInformation in interface ChainBranchpublic BranchCommitInformation getCommitInformation()
getCommitInformation in interface ImmutableChainBranchpublic String getLinkedJiraIssue()
ChainBranchIdentifiergetLinkedJiraIssue in interface ChainBranchIdentifierpublic void setLinkedJiraIssue(String linkedJiraIssue)
setLinkedJiraIssue in interface ChainBranchpublic boolean isRemoteJiraLinkRequired()
ChainBranchIdentifierisRemoteJiraLinkRequired in interface ChainBranchIdentifierpublic void setRemoteJiraLinkRequired(boolean remoteJiraIssueLinkRequired)
setRemoteJiraLinkRequired in interface ChainBranch@NotNull public @NotNull List<RepositoryDefinition> getEffectiveRepositoryDefinitions()
ImmutableChaingetEffectiveRepositoryDefinitions in interface ImmutableChaingetEffectiveRepositoryDefinitions in class AbstractChainList of repositories available to this plan@NotNull public @NotNull List<PlanRepositoryDefinition> getPlanRepositoryDefinitions()
ImmutableChaingetPlanRepositoryDefinitions in interface ImmutableChaingetPlanRepositoryDefinitions in class AbstractChainList of repositories available to this planpublic static List<PlanRepositoryDefinition> createEffectivePlanRepositoryDefinitions(List<PlanRepositoryDefinition> branchRepositories, List<PlanRepositoryDefinition> masterRepositories)
public NotificationSet getNotificationSet()
ImmutableChaingetNotificationSet in interface ImmutableChaingetNotificationSet in class AbstractChainNotificationSet containing notifications for this plan.public void setMaster(@NotNull
@NotNull Plan master)
PlansetMaster in interface ChainBranchsetMaster in interface Planpublic boolean isDivergent()
ImmutableChainBranchisDivergent in interface ImmutableChainBranchpublic void setDivergent(boolean divergent)
setDivergent in interface ChainBranchCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.