public class ConfigureBranches extends AbstractBranchTriggerConfigAction implements BuildConfigurationAware, PlanEditSecurityAware
BambooActionSupport.JSONStatus
Modifier and Type | Field and Description |
---|---|
protected static String |
BRANCH_NAME_PATTERN_FIELD |
protected static String |
PLAN_BRANCH_CLEAN_UP_PERIOD_IN_DAYS |
protected static String |
PLAN_BRANCH_INACTIVITY_CLEAN_UP_PERIOD_IN_DAYS |
protected TriggerModuleDescriptor |
triggerDescriptor |
buildConfiguration, MANUAL_STRATEGY, repositoryTrigger, repositoryTriggerSelectors, triggerModuleDescriptors, triggerSelectors, triggerTypeManager, triggerUIConfigBean
chainBranchManager, chainExecutionManager, executableAgentsHelper, stageStatusHelper
buildNumber, jiraApplinksService, resultsSummaryManager, vcsRepositoryConfigurationService
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, authenticationContext, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, deploymentProjectService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
Constructor and Description |
---|
ConfigureBranches() |
getKeysOfTriggersExpectingRepository, getRepositoryTriggerSelectors, getTriggerSelectors, initialiseRepositorySelectorsFromExistingTrigger, prepareTriggerEditHtmls, renderTriggerEditHtmlsWithErrors, setRepositoryTrigger, setTriggerTypeManager, setTriggerUIConfigBean, triggerConditionsConfigurationFromInput, triggeringRepositoriesFromInput, validateTriggerConfiguration
getBranchIdentifiers, getChain, getChainBranches, getChainBranchesByDate, getChainResult, getChainResultNumber, getErrorAccessor, getImmutableChain, getImmutableChainBranches, getImmutableChainStage, getMutableChain, getMutableChainStage, getSiblingBranchIdentifiers, getStageStatusHelper, setChain, setChainBranchManager, setChainExecutionManager, setChainResult, setChainResultNumber, setChainStage, setDecoratingAggregatedChainErrorAccessor, setExecutableAgentsHelper, setStageStatusHelper
buildWebPanelContext, getBuildKey, getBuildNumber, getCurrentlyBuildingPlans, getFirstNotRunnableStage, getImmutablePlan, getJobsWebItemsForSection, getMutablePlan, getPlan, getPlanKey, getPlanResultKey, getProject, getResultsSummaryManager, getSecuredDomainObject, getTypedPlanKey, getTypedPlanResultKey, isContinuable, isJiraApplicationLinkDefined, isRestartable, planNotFound, setBuildContextFactory, setBuildKey, setBuildNumber, setDecoratingErrorAccessor, setJiraApplinksService, setPlan, setPlanExecutionManager, setPlanKey, setPlanResultKey, setRepositoryDefinitionManager, setResultsSummaryManager, setVcsRepositoryConfigurationService
addActionError, addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getAvailableCategoryJson, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getElasticConfig, getErrorMessages, getErrors, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasActionWarnings, hasAdminPermission, hasAnyErrors, hasBuilds, hasEntityPermission, hasGlobalAdminPermission, hasGlobalPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, hasResultKeyReadPermission, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDecorator, setDeploymentProjectService, setDocumentationLinkProvider, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLocalizedTextProvider, setNavigationContext, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, streamJson, toJson, toJson
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getContainer, getFormatted, getLocale, getLocaleProvider, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getImmutablePlan, getMutablePlan, getPlan, setPlan
getSecuredDomainObject
getAllErrorMessages
protected static final String BRANCH_NAME_PATTERN_FIELD
protected static final String PLAN_BRANCH_CLEAN_UP_PERIOD_IN_DAYS
protected static final String PLAN_BRANCH_INACTIVITY_CLEAN_UP_PERIOD_IN_DAYS
protected TriggerModuleDescriptor triggerDescriptor
public void validate()
validate
in interface com.opensymphony.xwork2.Validateable
validate
in class com.opensymphony.xwork2.ActionSupport
public String input() throws Exception
input
in class com.opensymphony.xwork2.ActionSupport
Exception
public String update()
protected void schedulePlanBranchInitialization(Plan plan, BuildDefinition buildDefinition, PlanBranchWorkflow previousPlanBranchWorkflow)
plan
- plan to schedule plan branch initialization forbuildDefinition
- build definition of the plan, including plan settings definitionspreviousPlanBranchWorkflow
- previous branch workflow settingprotected void updateBranchMonitoringConfiguration(BranchMonitoringConfiguration branchMonitoringConfiguration)
branchMonitoringConfiguration
- to update with new valuespublic Map<PlanIdentifier,String> getBranchesForAutoIntegration()
public boolean isHideBranchesSplashScreen()
public String getBranchIntegrationEditHtml()
public BuildConfiguration getBuildConfiguration()
getBuildConfiguration
in interface BareBuildConfigurationAware
public void setBuildConfiguration(BuildConfiguration buildConfiguration)
setBuildConfiguration
in interface BareBuildConfigurationAware
public String getPlanBranchCreation()
public void setPlanBranchCreation(String planBranchCreation)
public boolean isMergeCapable()
public String getDefaultRepositoryType()
public VcsUIConfigBean.VcsHtmlFragments getRepositoryEditHtml()
public String getPlanBranchCreationRegularExpression()
public void setPlanBranchCreationRegularExpression(String planBranchCreationRegularExpression)
public String getRemovedBranchCleanUpPeriodInDays()
public void setRemovedBranchCleanUpPeriodInDays(String removedBranchCleanUpPeriodInDays)
public void setInactiveBranchCleanUpPeriodInDays(String inactiveBranchCleanUpPeriodInDays)
public String getInactiveBranchCleanUpPeriodInDays()
public List<BranchCreationType> getBranchCreationTypes()
public List<BranchTriggeringOption> getBranchTriggeringOptions()
public String getDefaultNotificationStrategy()
public void setDefaultNotificationStrategy(String defaultNotificationStrategy)
public boolean isBranchDetectionCapable()
public boolean isPullRequestAware()
public List<BranchNotificationStrategy> getNotificationStrategies()
public boolean isRemoteJiraBranchLinkingEnabled()
public void setRemoteJiraBranchLinkingEnabled(boolean remoteJiraBranchLinkingEnabled)
public boolean isSaved()
public void setSaved(boolean saved)
public boolean getDeletePlanBranchWhenBranchRemovedFromVcs()
public void setDeletePlanBranchWhenBranchRemovedFromVcs(boolean deletePlanBranchWhenBranchRemovedFromVcs)
public boolean getDeletePlanBranchWhenBranchIsInactiveInVcs()
public void setDeletePlanBranchWhenBranchIsInactiveInVcs(boolean deletePlanBranchWhenBranchIsInactiveInVcs)
public String getBranchTriggering()
public void setBranchTriggering(String branchTriggering)
public List<RepositoryTriggerSelector> getRepositoryTriggerSelectors()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.