com.atlassian.bamboo.ww2.actions.build.admin.config.task
Class ConfigureBuildTasks
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.ww2.actions.PlanActionSupport
com.atlassian.bamboo.ww2.actions.BuildActionSupport
com.atlassian.bamboo.ww2.actions.build.admin.config.task.ConfigureBuildTasks
- All Implemented Interfaces:
- ErrorCollection, BambooSessionAware, BuildableAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanEditSecurityAware, PlanAware, ProjectAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- CreateTask, CreateTasksChainWizard, CreateTasksJobWizard, DeleteTask, EditTask, MoveTask
public class ConfigureBuildTasks
- extends BuildActionSupport
- implements PlanEditSecurityAware
- See Also:
- Serialized Form
Fields inherited from class com.opensymphony.xwork.ActionSupport |
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.bamboo.ww2.actions.PlanActionSupport |
buildWebPanelContext, getBuildKey, getBuildNumber, getCurrentlyBuildingPlans, getErrorAccessor, getPlan, getPlanKey, getPlanResultKey, getProject, getResultsSummaryManager, getTypedPlanResultKey, planNotFound, setBuildKey, setBuildNumber, setErrorAccessor, setPlan, setPlanExecutionManager, setPlanKey, setPlanResultKey, setResultsSummaryManager |
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedErrorMessages, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setJobEquiv, setNavigationContext, setPlanManager, setPluginAccessor, setProjectManager, setReturnUrl, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INVALID_PLUGIN
protected static final java.lang.String INVALID_PLUGIN
- See Also:
- Constant Field Values
taskId
protected long taskId
taskManager
protected TaskManager taskManager
templateRenderer
protected TemplateRenderer templateRenderer
taskConfigurationService
protected TaskConfigurationService taskConfigurationService
ConfigureBuildTasks
public ConfigureBuildTasks()
doDefault
public java.lang.String doDefault()
- Description copied from class:
BambooActionSupport
- Default action just sends to the input
- Overrides:
doDefault
in class BambooActionSupport
getAvailableTasks
public java.util.List<TaskModuleDescriptor> getAvailableTasks()
getExistingTasks
public java.util.List<DecoratedTaskDefinition> getExistingTasks()
getFinalisingTasks
public java.util.List<DecoratedTaskDefinition> getFinalisingTasks()
getAvailableCategoryJson
public java.lang.String getAvailableCategoryJson()
throws com.opensymphony.webwork.dispatcher.json.JSONException
- Throws:
com.opensymphony.webwork.dispatcher.json.JSONException
getTaskById
@Nullable
protected TaskDefinition getTaskById(@NotNull
Plan plan,
long id)
prepareCreateHtml
@NotNull
protected java.lang.String prepareCreateHtml(@NotNull
TaskModuleDescriptor taskDescriptor,
TaskRenderMode renderMode)
prepareEditHtml
@NotNull
protected java.lang.String prepareEditHtml(@NotNull
TaskModuleDescriptor taskDescriptor,
@NotNull
TaskDefinition taskDefinition,
TaskRenderMode renderMode)
validateTaskConfiguration
protected void validateTaskConfiguration(@NotNull
TaskModuleDescriptor taskDescriptor)
getTaskConfigurationMap
@NotNull
protected java.util.Map<java.lang.String,java.lang.String> getTaskConfigurationMap(@NotNull
TaskModuleDescriptor taskDescriptor,
@Nullable
TaskDefinition previousTaskDefinition)
validatePlan
protected void validatePlan(@NotNull
java.lang.String errorKeyPrefix)
getTasksRequirementsConflicts
protected com.google.common.collect.Multimap<java.lang.String,java.lang.String> getTasksRequirementsConflicts()
setTaskManager
public void setTaskManager(TaskManager taskManager)
setTemplateRenderer
public void setTemplateRenderer(TemplateRenderer templateRenderer)
setTaskConfigurationService
public void setTaskConfigurationService(TaskConfigurationService taskConfigurationService)
setTaskUIConfigBean
public void setTaskUIConfigBean(TaskUIConfigBean taskUIConfigBean)
setCapabilityHelper
public void setCapabilityHelper(CapabilityHelper capabilityHelper)
setTextProvider
public void setTextProvider(com.opensymphony.xwork.TextProvider textProvider)
isSaved
public boolean isSaved()
setSaved
public void setSaved(boolean saved)
getTaskId
public long getTaskId()
setTaskId
public void setTaskId(long taskId)
Copyright © 2011 Atlassian. All Rights Reserved.