public class EditChainBranchDetails extends AbstractBranchTriggerConfigAction implements BuildConfigurationAware, PlanEditSecurityAware
BambooActionSupport.JSONStatus
buildConfiguration, MANUAL_STRATEGY, repositoryTrigger, repositoryTriggerSelectors, triggerModuleDescriptors, triggerSelectors, triggerTypeManager, triggerUIConfigBean
chainBranchManager, chainExecutionManager, executableAgentsHelper, stageStatusHelper
buildNumber, jiraApplinksService, repositoryDefinitionManager, 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 |
---|
EditChainBranchDetails() |
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, getImmutablePlan, getJobsWebItemsForSection, getMutablePlan, getPlan, getPlanKey, getPlanResultKey, getProject, getResultsSummaryManager, getSecuredDomainObject, getTypedPlanKey, getTypedPlanResultKey, isJiraApplicationLinkDefined, isRestartable, planNotFound, 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, 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, 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, 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
public boolean isRepositoryOverridden(PartialVcsRepositoryData partialVcsRepositoryData)
@Nullable public static String getRepositoryBranchName(PartialVcsRepositoryData partialVcsRepositoryData)
public String input()
input
in class com.opensymphony.xwork2.ActionSupport
public void validate()
validate
in interface com.opensymphony.xwork2.Validateable
validate
in class com.opensymphony.xwork2.ActionSupport
public String execute() throws Exception
execute
in interface com.opensymphony.xwork2.Action
execute
in class com.opensymphony.xwork2.ActionSupport
Exception
public boolean isBranchDetectionCapable()
public boolean isMergeCapable()
public boolean isGitRepository()
public String getBranchIntegrationEditHtml()
public String getDefaultRepositoryType()
public List<RepositoryTriggerSelector> getRepositoryTriggerSelectors()
public PlanRepositoryDefinition getDefaultRepositoryDefinition()
public String getPlanBranchCreation()
public void setPlanBranchCreation(String planBranchCreation)
public boolean isSaved()
public void setSaved(boolean saved)
public String getBranchName()
public void setBranchName(String branchName)
public String getBranchDescription()
public void setBranchDescription(String branchDescription)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public void setPlanValidationService(PlanValidationService planValidationService)
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
public Map<PlanIdentifier,String> getBranchesForAutoIntegration()
@NotNull public String getTriggerConditionEditHtml()
@NotNull public List<RepositoryDefinition> getRepositoryDefinitions()
@NotNull public List<PartialVcsRepositoryData> getPartialVcsRepositoryData()
public BuildConfiguration getBuildConfiguration()
getBuildConfiguration
in interface BareBuildConfigurationAware
public void setBuildConfiguration(BuildConfiguration buildConfiguration)
setBuildConfiguration
in interface BareBuildConfigurationAware
public void setPlanConfigurationUIPluginHelper(PlanConfigurationUIPluginHelper planConfigurationUIPluginHelper)
public boolean isOverrideBuildStrategy()
public void setOverrideBuildStrategy(boolean overrideBuildStrategy)
public void setBuildTriggerConditionConfigHelper(PlanConfigHelper buildTriggerConditionConfigHelper)
public boolean isPlanBranchCleanUpEnabled()
public void setPlanBranchCleanUpEnabled(boolean planBranchCleanUpEnabled)
public boolean isInactiveBranchCleanUpPlanLevelEnabled()
public void setInactiveBranchCleanUpPlanLevelEnabled(boolean inactiveBranchCleanUpPlanLevelEnabled)
public boolean isRemovedBranchCleanUpPlanLevelEnabled()
public void setRemovedBranchCleanUpPlanLevelEnabled(boolean removedBranchCleanUpPlanLevelEnabled)
public int getInactiveBranchCleanUpPeriod()
public void setInactiveBranchCleanUpPeriod(int inactiveBranchCleanUpPeriod)
public int getRemovedBranchCleanUpPeriod()
public void setRemovedBranchCleanUpPeriod(int removedBranchCleanUpPeriod)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.