Methods
| Modifier and Type |
Method and Description |
void |
addActionError(String errorMessage) |
void |
addActionWarning(String errorMessage) |
void |
addError(String field,
String message)
Deprecated.
since 1.0 Use ActionSupport.addFieldError(String, String) instead
|
void |
addError(String prefix,
String field,
String message) |
void |
addErrorCollection(com.atlassian.bamboo.utils.error.ErrorCollection errors) |
String |
addErrorMessage(String message)
|
String |
addErrorMessage(String message,
Exception e) |
void |
addErrorMessages(Collection<String> errorMessages) |
void |
addErrors(Map<String,?> errors)
|
void |
addFieldErrors(Map<String,List<String>> errors) |
void |
addHelpPanel(String helpPanel) |
void |
addIllegalArgumentException(String field,
IllegalArgumentException e) |
protected boolean |
areCheckBoxesEmpty(String field) |
protected com.opensymphony.webwork.dispatcher.json.JSONObject |
buildJsonObject()
Builds JSONObject and sets 'status', 'errors' and 'fieldErrors' properties accordingly.
|
protected Map<String,Object> |
buildWebPanelContext(String location)
|
protected void |
checkFieldXssSafety(String fieldName,
String fieldValue) |
protected <T extends com.opensymphony.xwork2.validator.FieldValidator> T |
createFieldValidator(String fieldName,
Class<T> validatorClass,
String messageKey,
String[] messageParameters)
Create WebWork's field validator
|
String |
doDefault()
Deprecated.
since 5.4 use a different method name
|
boolean |
doesHelpLinkHaveMatchingTitle(String helpKey) |
boolean |
doesLabelKeyHaveMatchingDescription(String labelKey) |
String |
doExecute()
Places the current user on the page
|
String |
doInput()
Deprecated.
since 5.1 use ${#input()} instead.
|
String |
execute() |
protected void |
forceRelativeReturnUrl()
converts current return URL to a path rooted under context.
|
List<String> |
getActionWarnings() |
protected AdministrationConfiguration |
getAdministrationConfiguration()
Makes the current Admin configuration available to an action
|
protected Bamboo |
getBamboo()
Allows access to the Bamboo container.
|
protected BambooLicenseManager |
getBambooLicenseManager() |
protected BambooPermissionManager |
getBambooPermissionManager() |
BambooSession |
getBambooSession() |
BambooUrl |
getBambooUrl() |
BambooUserManager |
getBambooUserManager() |
String |
getBaseUrl() |
String |
getBestBaseUrl() |
BootstrapManager |
getBootstrapManager() |
Collection<BreadCrumb> |
getBreadCrumbs() |
String |
getChainEquiv() |
boolean |
getConcurrentBuildsEnabled() |
String |
getConglomerateCookieValue(String cookieKey,
String conglomerateKey) |
CookieCutter |
getCookieCutter() |
String |
getCookieValue(String key) |
String |
getCurrentFormTheme() |
Long |
getCurrentSystemTime() |
String |
getCurrentUrl() |
protected Persister |
getDefaultPersister()
|
com.atlassian.bamboo.deployments.projects.DeploymentProject |
getDeploymentProject(long environmentId)
|
String |
getDescriptionFromLabelKey(String labelKey) |
ElasticConfiguration |
getElasticConfig() |
FeatureManager |
getFeatureManager() |
Set<String> |
getFieldErrorAccessTracker() |
Map<String,List<String>> |
getFieldErrors() |
Collection<String> |
getFlushedErrorMessages() |
Collection<String> |
getFormattedActionErrors() |
List<String> |
getFormattedActionMessages() |
List<String> |
getFormattedActionWarnings() |
List<Map<String,Object>> |
getHelpPanels() |
String |
getInstanceName() |
String |
getJobEquiv() |
com.opensymphony.webwork.dispatcher.json.JSONObject |
getJsonObject()
This is default property read by webwork for webwork's result type "json".
|
NavigationContext |
getNavigationContext() |
String |
getNavigationUrl()
The url of the current action.
|
int |
getNumberOfCurrentlyBuildingPlans(String planKey) |
ImmutableChain |
getPlan(String planKey) |
PlanManager |
getPlanManager() |
com.atlassian.plugin.PluginAccessor |
getPluginAccessor() |
String |
getReturnUrl() |
Object |
getSecuredDomainObject() |
ServerLifecycleState |
getServerLifecycleState() |
BambooUser |
getSessionUser(String auth) |
String |
getText(String key) |
String |
getText(String key,
List args) |
String |
getText(String s,
Object[] objects) |
String |
getText(String key,
String defaultValue) |
String |
getText(String key,
String[] args) |
String |
getText(String key,
String defaultValue,
List args) |
String |
getText(String key,
String defaultValue,
List args,
com.opensymphony.xwork2.ognl.OgnlValueStack stack)
|
String |
getText(String key,
String defaultValue,
List args,
com.opensymphony.xwork2.util.ValueStack stack) |
String |
getText(String key,
String defaultValue,
String obj) |
String |
getText(String key,
String defaultValue,
String[] args) |
String |
getText(String key,
String defaultValue,
String[] args,
com.opensymphony.xwork2.ognl.OgnlValueStack stack)
|
String |
getText(String key,
String defaultValue,
String[] args,
com.opensymphony.xwork2.util.ValueStack stack) |
protected com.opensymphony.xwork2.TextProvider |
getTextProvider() |
ResourceBundle |
getTexts() |
ResourceBundle |
getTexts(String bundleName) |
String |
getTextWithArgs(String key,
String... args) |
int |
getTotalErrors() |
com.atlassian.user.User |
getUser() |
protected com.opensymphony.xwork2.validator.DelegatingValidatorContext |
getValidatorContext()
Can be used for WebWork's validation
|
Map<String,Object> |
getWebFragmentsContextMap() |
List<com.atlassian.plugin.web.descriptors.WebItemModuleDescriptor> |
getWebItemsForSection(String sectionName) |
Map<String,Object> |
getWebPanelContext(String location)
Returns for the context for a WebPanel based on the location specified In the future the results of this
method may be cached
|
List<com.atlassian.plugin.web.descriptors.WebSectionModuleDescriptor> |
getWebSectionsForLocation(String location) |
boolean |
hasActionWarnings() |
boolean |
hasAdminPermission() |
boolean |
hasAnyErrors() |
boolean |
hasBuilds() |
boolean |
hasEntityPermission(String permission,
Object object) |
boolean |
hasGlobalAdminPermission() |
boolean |
hasGlobalPermission(org.acegisecurity.acls.Permission permission) |
boolean |
hasGlobalPermission(String permission)
Does this user have the global permission right?
|
boolean |
hasKey(String key) |
boolean |
hasLinkedDeployments(PlanKey planKey) |
boolean |
hasPlanPermission(String permission,
PlanIdentifier plan) |
boolean |
hasPlanPermission(String permission,
String planKey)
|
boolean |
hasRestrictedAdminPermission() |
String |
input() |
boolean |
isCheckboxSetInAction(String checkboxName) |
boolean |
isEc2ConfigurationWarningRequired() |
boolean |
isEnableJavascript() |
boolean |
isEnableSignup() |
boolean |
isInlineDialog() |
boolean |
isRestrictedAdminEnabled() |
boolean |
isSelectFieldAndNull(String buildKeysField) |
boolean |
isViewContactDetailsEnabled() |
String |
renderFreemarkerTemplate(String templateString) |
void |
setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor) |
void |
setAdministrationConfigurationManager(AdministrationConfigurationManager administrationConfigurationManager) |
void |
setAdministrationConfigurationPersister(AdministrationConfigurationPersister administrationConfigurationPersister) |
void |
setAuthenticationContext(BambooAuthenticationContext authenticationContext) |
void |
setBambooLicenseManager(BambooLicenseManager bambooLicenseManager) |
void |
setBambooPermissionManager(BambooPermissionManager bambooPermissionManager) |
void |
setBambooUserManager(BambooUserManager bambooUserManager) |
void |
setBuildDefinitionManager(BuildDefinitionManager buildDefinitionManager) |
void |
setCachedPlanManager(CachedPlanManager cachedPlanManager) |
void |
setChainEquiv(String chainEquiv) |
void |
setCheckBoxFields(String[] checkBoxFields) |
void |
setCookieCutter(CookieCutter cookieCutter) |
void |
setCurrentFormTheme(String currentFormTheme) |
void |
setDashboardCachingManager(DashboardCachingManager dashboardCachingManager) |
void |
setDecorator(String decorator) |
void |
setEnableJavascript(boolean enableJavascript) |
void |
setEnvironmentService(com.atlassian.bamboo.deployments.environments.service.EnvironmentService environmentService) |
void |
setErrorMessages(Collection<String> errorMessages)
Deprecated.
since 1.0 Use ActionSupport.setActionErrors(Collection) instead
|
void |
setFeatureManager(FeatureManager featureManager) |
void |
setI18nBeanFactory(I18nBeanFactory i18nBeanFactory) |
void |
setJobEquiv(String jobEquiv) |
void |
setJsonator(com.atlassian.bamboo.jsonator.Jsonator jsonator) |
void |
setLinkedDeploymentProjectCacheService(com.atlassian.bamboo.deployments.cache.LinkedDeploymentProjectCacheService linkedDeploymentProjectCacheService) |
void |
setNavigationContext(NavigationContext navigationContext)
Set the current context for this action
|
void |
setPlanExecutionManager(PlanExecutionManager planExecutionManager) |
void |
setPlanManager(PlanManager planManager) |
void |
setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor) |
void |
setProfile(String value) |
void |
setProjectManager(ProjectManager projectManager) |
void |
setReturnUrl(String returnUrl) |
void |
setServerLifecycleProvider(ServerLifecycleProvider serverLifecycleProvider) |
void |
setWebInterfaceManager(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager) |
String |
toJson(Object object) |
String |
toJson(Object object,
com.atlassian.bamboo.jsonator.Jsonator.EnumConversionMode enumConversionMode) |