public abstract class AbstractBranchTriggerConfigAction extends ChainActionSupport implements BuildConfigurationAware, PlanViewConfigurationSecurityAware
BambooActionSupport.JSONStatus
Modifier and Type | Field and Description |
---|---|
protected BuildConfiguration |
buildConfiguration |
protected static String |
MANUAL_STRATEGY |
protected Long[] |
repositoryTrigger |
protected List<RepositoryTriggerSelector> |
repositoryTriggerSelectors |
protected Iterable<TriggerModuleDescriptor> |
triggerModuleDescriptors |
protected List<TriggerUIConfigBean.TriggerSelector> |
triggerSelectors |
protected TriggerTypeManager |
triggerTypeManager |
protected TriggerUIConfigBean |
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 |
---|
AbstractBranchTriggerConfigAction() |
Modifier and Type | Method and Description |
---|---|
String |
getKeysOfTriggersExpectingRepository() |
protected List<RepositoryTriggerSelector> |
getRepositoryTriggerSelectors(TriggerDefinition existingTrigger) |
List<TriggerUIConfigBean.TriggerSelector> |
getTriggerSelectors() |
protected boolean |
initialiseRepositorySelectorsFromExistingTrigger(TriggerDefinition existingTrigger) |
protected void |
prepareTriggerEditHtmls(TriggerDefinition triggerDefinition) |
protected void |
renderTriggerEditHtmlsWithErrors() |
void |
setRepositoryTrigger(Long[] repositoryTrigger) |
void |
setTriggerTypeManager(TriggerTypeManager triggerTypeManager) |
void |
setTriggerUIConfigBean(TriggerUIConfigBean triggerUIConfigBean) |
protected Map<String,String> |
triggerConditionsConfigurationFromInput() |
protected Set<Long> |
triggeringRepositoriesFromInput(TriggerModuleDescriptor triggerDescriptor) |
protected void |
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, hasProjectPermission, hasProjectPermission, hasRestrictedAdminPermission, hasResultKeyReadPermission, isCheckboxSetInAction, 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, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getImmutablePlan, getMutablePlan, getPlan, setPlan
getBuildConfiguration, setBuildConfiguration
getSecuredDomainObject
getAllErrorMessages
protected static final String MANUAL_STRATEGY
protected List<TriggerUIConfigBean.TriggerSelector> triggerSelectors
protected Iterable<TriggerModuleDescriptor> triggerModuleDescriptors
protected Long[] repositoryTrigger
protected List<RepositoryTriggerSelector> repositoryTriggerSelectors
@Inject protected TriggerTypeManager triggerTypeManager
@Inject protected TriggerUIConfigBean triggerUIConfigBean
protected BuildConfiguration buildConfiguration
public void setTriggerUIConfigBean(TriggerUIConfigBean triggerUIConfigBean)
public void setTriggerTypeManager(TriggerTypeManager triggerTypeManager)
public void setRepositoryTrigger(Long[] repositoryTrigger)
protected void validateTriggerConfiguration()
protected void renderTriggerEditHtmlsWithErrors()
@NotNull protected Map<String,String> triggerConditionsConfigurationFromInput()
@Nullable protected Set<Long> triggeringRepositoriesFromInput(TriggerModuleDescriptor triggerDescriptor)
protected void prepareTriggerEditHtmls(TriggerDefinition triggerDefinition)
public String getKeysOfTriggersExpectingRepository()
protected List<RepositoryTriggerSelector> getRepositoryTriggerSelectors(@Nullable TriggerDefinition existingTrigger)
protected boolean initialiseRepositorySelectorsFromExistingTrigger(TriggerDefinition existingTrigger)
public List<TriggerUIConfigBean.TriggerSelector> getTriggerSelectors()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.