@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() |
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 |
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 |
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, setVcsBambooSpecsSourcecompareTo, 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, setVariableDefinitionManagergetId, getOid, setId, setOidclone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDatefinalize, getClass, notify, notifyAll, toString, wait, wait, waitaddNewStage, addStage, getAllJobs, getAllStages, getStages, removeStage, setNotificationSet, setStorageTaggetBuildDefinitionXml, getLabellings, getLatestResultsSummary, getRelatedLabellings, setBuildDefinitionXml, setBuildKey, setBuildName, setKey, setLabellings, setPlanKey, setProject, setSuspendedFromBuildingsetOidgetOidsetDescription, setNamesetMarkedForDeletionsetIdisMarkedForDeletioncontainsStage, getCreationDate, getEntityType, getJobCount, getLastResultKey, getStorageTag, getVcsBambooSpecsSource, getVcsLocationBambooSpecsStategetAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletiongetTriggerDefinitions, isSuspended@NotNull public Chain getMaster()
ImmutablePlangetMaster in interface ChaingetMaster in interface ImmutableChaingetMaster in interface ImmutablePlangetMaster in class AbstractChainPlan if one exists.@NotNull public PlanType getPlanType()
getPlanType in interface PlanIdentifierpublic void setCommitInformation(@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 List<RepositoryDefinition> getEffectiveRepositoryDefinitions()
ImmutableChaingetEffectiveRepositoryDefinitions in interface ImmutableChaingetEffectiveRepositoryDefinitions in class AbstractChainList of repositories available to this plan@NotNull public 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
Plan master)
PlansetMaster in interface ChainBranchsetMaster in interface PlanCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.