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.atlassian.bamboo.ww2.BambooActionSupport |
administrationConfigurationManager, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, CONFIRM, cookieCutter, dashboardCachingManager, PLAN_KEY_CONTEXT, planExecutionManager, planManager, projectManager, webInterfaceManager |
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, getJobsWebItemsForSection, getPlan, getPlanKey, getPlanResultKey, getProject, getResultsSummaryManager, getTypedPlanResultKey, isRestartable, planNotFound, setBuildKey, setBuildNumber, setErrorAccessor, setPlan, setPlanExecutionManager, setPlanKey, setPlanResultKey, setRepositoryConfigurationService, setResultsSummaryManager |
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
addActionError, 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, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setJobEquiv, setNavigationContext, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
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
taskName
protected java.lang.String taskName
taskDefinition
protected TaskDefinition taskDefinition
userDescription
protected java.lang.String userDescription
jsonObject
protected com.opensymphony.webwork.dispatcher.json.JSONObject jsonObject
taskManager
protected TaskManager taskManager
templateRenderer
protected TemplateRenderer templateRenderer
taskConfigurationService
protected TaskConfigurationService taskConfigurationService
workingDirSelector
protected TaskRootDirectoryType workingDirSelector
repositoryDefiningWorkingDirectory
protected long repositoryDefiningWorkingDirectory
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
getJsonObject
@NotNull
public com.opensymphony.webwork.dispatcher.json.JSONObject getJsonObject()
throws com.opensymphony.webwork.dispatcher.json.JSONException
- Description copied from class:
BambooActionSupport
- This is default property read by webwork for webwork's result type "json".
- Overrides:
getJsonObject
in class BambooActionSupport
- Returns:
-
- Throws:
com.opensymphony.webwork.dispatcher.json.JSONException
- See Also:
- JSON Result
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()
getRepositoriesForWorkingDirSelection
@NotNull
public java.util.Map<java.lang.Long,java.lang.String> getRepositoriesForWorkingDirSelection()
getWorkingDirSelectorOptions
@NotNull
public java.util.Map<java.lang.String,java.lang.String> getWorkingDirSelectorOptions()
getRootDirSelector
protected TaskRootDirectorySelector getRootDirSelector()
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)
getUserDescription
public java.lang.String getUserDescription()
setTaskName
public void setTaskName(java.lang.String taskName)
setUserDescription
public void setUserDescription(java.lang.String userDescription)
getTaskName
public java.lang.String getTaskName()
getRepositoryDefiningWorkingDirectory
public long getRepositoryDefiningWorkingDirectory()
setRepositoryDefiningWorkingDirectory
public void setRepositoryDefiningWorkingDirectory(long repositoryDefiningWorkingDirectory)
getWorkingDirSelector
public java.lang.String getWorkingDirSelector()
setWorkingDirSelector
public void setWorkingDirSelector(java.lang.String workingDirSelector)
Copyright © 2012 Atlassian. All Rights Reserved.