public class ConfigureBuildTasks extends BuildActionSupport implements PlanViewConfigurationSecurityAware, com.opensymphony.xwork2.Preparable
BambooActionSupport.JSONStatus| Modifier and Type | Field and Description |
|---|---|
protected boolean |
conditionalTask |
protected List<Pair<String,String>> |
conditions |
protected com.atlassian.event.api.EventPublisher |
eventPublisher |
protected static String |
INVALID_PLUGIN |
protected com.opensymphony.webwork.dispatcher.json.JSONObject |
jsonObject |
protected long |
repositoryDefiningWorkingDirectory |
protected String |
selectedCondition |
protected TaskConfigurationService |
taskConfigurationService |
protected TaskDefinition |
taskDefinition |
protected boolean |
taskDisabled |
protected long |
taskId |
protected TaskManager |
taskManager |
protected String |
taskName |
protected TaskOwnerFactory |
taskOwnerFactory |
protected TaskUIConfigBean |
taskUIConfigBean |
protected com.atlassian.bamboo.template.TemplateRenderer |
templateRenderer |
protected String |
userDescription |
protected VcsRepositoryManager |
vcsRepositoryManager |
protected TaskRootDirectoryType |
workingDirSelector |
buildExecutionManagerbuildNumber, jiraApplinksService, repositoryDefinitionManager, resultsSummaryManager, vcsRepositoryConfigurationServiceACCESS_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 |
|---|
ConfigureBuildTasks() |
getBuildResultKey, getCurrentlyBuilding, getCurrentlyBuildingList, getCurrentlyRunningBuildResultKeys, getImmutableBuild, getMutableBuild, setBuild, setBuildExecutionManager, setBuildResultKeybuildWebPanelContext, getBuildKey, getBuildNumber, getCurrentlyBuildingPlans, getErrorAccessor, 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, setVcsRepositoryConfigurationServiceaddActionError, addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, 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, 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, toJsonaddActionMessage, 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, validateequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSecuredDomainObjectgetAllErrorMessagesprotected static final String INVALID_PLUGIN
protected long taskId
protected String taskName
protected TaskDefinition taskDefinition
protected String userDescription
protected boolean taskDisabled
protected boolean conditionalTask
protected String selectedCondition
protected com.opensymphony.webwork.dispatcher.json.JSONObject jsonObject
protected TaskManager taskManager
protected com.atlassian.bamboo.template.TemplateRenderer templateRenderer
protected TaskConfigurationService taskConfigurationService
protected TaskRootDirectoryType workingDirSelector
protected long repositoryDefiningWorkingDirectory
protected TaskUIConfigBean taskUIConfigBean
protected TaskOwnerFactory taskOwnerFactory
@Inject protected VcsRepositoryManager vcsRepositoryManager
@Inject protected com.atlassian.event.api.EventPublisher eventPublisher
public void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.PreparableExceptionpublic String doDefault()
BambooActionSupportdoDefault in class BambooActionSupport@NotNull
public @NotNull com.opensymphony.webwork.dispatcher.json.JSONObject getJsonObject()
throws com.opensymphony.webwork.dispatcher.json.JSONException
BambooActionSupportgetJsonObject in class BambooActionSupportcom.opensymphony.webwork.dispatcher.json.JSONExceptionIf descending classes need to add anything to JSON response these should override {@link #buildJsonObject()} method.
public List<TaskModuleDescriptor> getAvailableTasks()
public List<DecoratedTaskDefinition> getExistingTasks()
public List<DecoratedTaskDefinition> getFinalisingTasks()
public String getAvailableCategoryJson() throws com.opensymphony.webwork.dispatcher.json.JSONException
getAvailableCategoryJson in class BambooActionSupportcom.opensymphony.webwork.dispatcher.json.JSONException@Nullable protected @Nullable TaskDefinition getTaskById(@NotNull @NotNull ImmutablePlan plan, long id)
protected com.google.common.collect.Multimap<String,String> getTasksRequirementsConflicts()
@NotNull public @NotNull Map<Long,String> getRepositoriesForWorkingDirSelection()
@NotNull public @NotNull Map<String,String> getWorkingDirSelectorOptions()
protected TaskRootDirectorySelector getRootDirSelector()
protected void triggerAnalyticsEvent()
protected List<TaskConditionConfig> getTaskConditions()
public void setTaskManager(TaskManager taskManager)
public void setTemplateRenderer(com.atlassian.bamboo.template.TemplateRenderer templateRenderer)
public void setTaskConfigurationService(TaskConfigurationService taskConfigurationService)
public void setTaskUIConfigBean(TaskUIConfigBean taskUIConfigBean)
public boolean isSaved()
public void setSaved(boolean saved)
public long getTaskId()
public void setTaskId(long taskId)
public String getUserDescription()
public void setTaskName(String taskName)
public void setUserDescription(String userDescription)
public boolean isTaskDisabled()
public void setTaskDisabled(boolean taskDisabled)
public boolean isConditionalTask()
public void setConditionalTask(boolean conditionalTask)
public String getSelectedCondition()
public void setSelectedCondition(String selectedCondition)
public String getTaskName()
public long getRepositoryDefiningWorkingDirectory()
public void setRepositoryDefiningWorkingDirectory(long repositoryDefiningWorkingDirectory)
public String getWorkingDirSelector()
public void setWorkingDirSelector(String workingDirSelector)
public void setTaskOwnerFactory(TaskOwnerFactory taskOwnerFactory)
Copyright © 2025 Atlassian Software Systems Pty Ltd. All rights reserved.