public class ConfigureBranches extends ChainActionSupport 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 |
chainBranchManager, chainExecutionManager, executableAgentsHelper, stageStatusHelper
buildNumber, jiraApplinksService, resultsSummaryManager, vcsRepositoryConfigurationService
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, dashboardCachingManager, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
Constructor and Description |
---|
ConfigureBranches() |
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, getImmutablePlan, getJobsWebItemsForSection, getMutablePlan, getPlan, getPlanKey, getPlanResultKey, getProject, getResultsSummaryManager, getSecuredDomainObject, getTypedPlanKey, getTypedPlanResultKey, isJiraApplicationLinkDefined, isRestartable, planNotFound, setBuildKey, setBuildNumber, setDecoratingErrorAccessor, setJiraApplinksService, setPlan, setPlanExecutionManager, setPlanKey, setPlanResultKey, setResultsSummaryManager, setVcsRepositoryConfigurationService
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, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setDocumentationLinkProvider, setEnableJavascript, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setNavigationContext, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJson
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getFormatted, getLocale, 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
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
protected void schedulePlanBranchInitialization(Plan plan, BuildDefinition buildDefinition, boolean previousPlanBranchCreationEnabledSetting)
plan
- plan to schedule plan branch initialization forbuildDefinition
- build definition of the plan, including plan settings definitionspreviousPlanBranchCreationEnabledSetting
- previous branch creation 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 boolean isGitRepository()
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)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.