public class BambooActionSupport extends com.opensymphony.xwork2.ActionSupport implements ErrorCollection, ReturnUrlAware, BambooSessionAware, GlobalReadSecurityAware, com.atlassian.core.i18n.I18nTextProvider, NavigationAware, com.opensymphony.xwork.ValidationAware, com.atlassian.struts.ValidationAware, com.atlassian.struts.TextProvider, JsonStreamingAction
Modifier and Type | Class and Description |
---|---|
static class |
BambooActionSupport.JSONStatus |
Constructor and Description |
---|
BambooActionSupport() |
Modifier and Type | Method and Description |
---|---|
protected void |
addActionError(Exception exception) |
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)
Adds a new form validation error with a given prefix.
|
void |
addErrorCollection(ErrorCollection errors)
Populate this ErrorCollection with general and field-specific errors.
|
String |
addErrorMessage(String message)
Deprecated.
since 1.0 Use
addActionError(String) instead |
String |
addErrorMessage(String message,
Exception e) |
void |
addErrorMessages(Collection<String> errorMessages)
Append new error messages to those already collected.
|
void |
addErrors(Map<String,?> errors)
Deprecated.
since 5.1
|
void |
addFieldErrors(Map<String,List<String>> errors)
Append new field-specific errors to those already collected.
|
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)
Builds a context suitable for rendering
WebPanel s via FreemarkerContext.getWebPanels(String) In
the future the results of this method may be cached |
protected void |
checkFieldXssSafety(String fieldName,
String fieldValue) |
protected <T extends com.opensymphony.xwork2.validator.FieldValidator> |
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, for example "execute"
|
boolean |
doesHelpLinkHaveMatchingTitle(String helpKey) |
boolean |
doesLabelKeyHaveMatchingDescription(String labelKey) |
String |
doExecute()
Deprecated.
since 5.10 use
ActionSupport.execute() instead |
String |
doInput()
Deprecated.
since 5.1 use ${#input()} instead.
|
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
|
String |
getAvailableCategoryJson() |
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()
Deprecated.
since 5.10
|
String |
getDescriptionFromLabelKey(String labelKey) |
ElasticConfiguration |
getElasticConfig() |
Collection<String> |
getErrorMessages()
Deprecated.
since 5.1 use
ActionSupport.getActionErrors() instead |
Map<String,List<String>> |
getErrors()
Deprecated.
since 5.1 use
getFieldErrors() instead |
FeatureManager |
getFeatureManager() |
Set<String> |
getFieldErrorAccessTracker() |
Map<String,List<String>> |
getFieldErrors() |
Collection<String> |
getFlushedErrorMessages()
Get error messages, then get rid of them.
|
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)
Deprecated.
since 5.1
|
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)
Deprecated.
since 5.1
|
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()
Whether any errors (of any type - field-specific or otherwise) have been collected.
|
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 |
hasPlanPermission(String permission,
PlanIdentifier plan) |
boolean |
hasPlanPermission(String permission,
String planKey)
You should always prefer using
hasPlanPermission(String, PlanIdentifier) if you have or you are about
to have Plan reference. |
boolean |
hasRestrictedAdminPermission() |
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 |
setDecorator(String decorator) |
void |
setDeploymentProjectService(DeploymentProjectService deploymentProjectService) |
void |
setDocumentationLinkProvider(DocumentationLinkProvider documentationLinkProvider) |
void |
setEnableJavascript(boolean enableJavascript) |
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(Jsonator jsonator) |
void |
setLocalizedTextProvider(com.opensymphony.xwork2.LocalizedTextProvider localizedTextProvider) |
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) |
void |
streamJson(JsonStream stream) |
String |
toJson(Object object) |
String |
toJson(Object object,
Jsonator.EnumConversionMode enumConversionMode) |
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
getAllErrorMessages
public static final String CONFIRM
public static final String ACCESS_DENIED
public static final String PAGE_NOT_FOUND
public static final String PLAN_KEY_CONTEXT
public static final String BUILD_KEY_CONTEXT
public static final String AGGREGATE_URL_PATTERN
protected AdministrationConfigurationAccessor administrationConfigurationAccessor
@Deprecated protected AdministrationConfigurationManager administrationConfigurationManager
protected AdministrationConfigurationPersister administrationConfigurationPersister
protected BambooAuthenticationContext authenticationContext
protected BambooPermissionManager bambooPermissionManager
protected BambooUserManager bambooUserManager
protected BuildDefinitionManager buildDefinitionManager
protected CachedPlanManager cachedPlanManager
protected CookieCutter cookieCutter
protected FeatureManager featureManager
protected PlanExecutionManager planExecutionManager
protected PlanManager planManager
protected com.atlassian.plugin.PluginAccessor pluginAccessor
protected ProjectManager projectManager
protected DeploymentProjectService deploymentProjectService
protected com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager
public void setProfile(String value)
@Deprecated public String doDefault() throws Exception
Exception
public BambooSession getBambooSession()
getBambooSession
in interface BambooSessionAware
protected Bamboo getBamboo()
Bamboo
.@Nullable public com.atlassian.user.User getUser()
@NotNull public ServerLifecycleState getServerLifecycleState()
public void setServerLifecycleProvider(ServerLifecycleProvider serverLifecycleProvider)
public boolean doesLabelKeyHaveMatchingDescription(String labelKey)
public boolean doesHelpLinkHaveMatchingTitle(String helpKey)
public boolean hasGlobalPermission(String permission)
permission
- - The global permission being checked.true
if the current user has this permission; false
otherwise.public boolean hasGlobalPermission(org.acegisecurity.acls.Permission permission)
public boolean hasGlobalAdminPermission()
public boolean hasRestrictedAdminPermission()
public boolean hasAdminPermission()
public boolean hasPlanPermission(String permission, String planKey)
hasPlanPermission(String, PlanIdentifier)
if you have or you are about
to have Plan reference.public boolean hasPlanPermission(String permission, PlanIdentifier plan)
public boolean isRestrictedAdminEnabled()
public boolean isEnableSignup()
public boolean getConcurrentBuildsEnabled()
public boolean isViewContactDetailsEnabled()
public boolean hasBuilds()
@Nullable public ImmutableChain getPlan(String planKey)
public Collection<BreadCrumb> getBreadCrumbs()
public void setAuthenticationContext(BambooAuthenticationContext authenticationContext)
protected void forceRelativeReturnUrl()
public String getReturnUrl()
getReturnUrl
in interface ReturnUrlAware
public void setReturnUrl(String returnUrl)
setReturnUrl
in interface ReturnUrlAware
@Nullable public String getCurrentUrl()
public Long getCurrentSystemTime()
protected BambooLicenseManager getBambooLicenseManager()
public void setBambooLicenseManager(BambooLicenseManager bambooLicenseManager)
public BootstrapManager getBootstrapManager()
public List<com.atlassian.plugin.web.descriptors.WebItemModuleDescriptor> getWebItemsForSection(String sectionName)
public List<com.atlassian.plugin.web.descriptors.WebSectionModuleDescriptor> getWebSectionsForLocation(String location)
@NotNull public com.opensymphony.webwork.dispatcher.json.JSONObject getJsonObject() throws com.opensymphony.webwork.dispatcher.json.JSONException
com.opensymphony.webwork.dispatcher.json.JSONException
If descending classes need to add anything to JSON response these should override {@link #buildJsonObject()} method.
@NotNull protected com.opensymphony.webwork.dispatcher.json.JSONObject buildJsonObject() throws com.opensymphony.webwork.dispatcher.json.JSONException
com.opensymphony.webwork.dispatcher.json.JSONException
public void streamJson(JsonStream stream) throws IOException, com.opensymphony.webwork.dispatcher.json.JSONException
streamJson
in interface JsonStreamingAction
IOException
com.opensymphony.webwork.dispatcher.json.JSONException
protected void addActionError(@NotNull Exception exception)
public void addActionError(@Nullable String errorMessage)
addActionError
in interface com.opensymphony.xwork2.interceptor.ValidationAware
addActionError
in class com.opensymphony.xwork2.ActionSupport
public boolean hasActionWarnings()
public void addActionWarning(@Nullable String errorMessage)
public void addError(String prefix, String field, String message)
ErrorCollection
addError
in interface ErrorCollection
prefix
- The prefix of the field in . formfield
- The id of the form element in errormessage
- The error message to display to the userpublic Collection<String> getFlushedErrorMessages()
ErrorCollection
getFlushedErrorMessages
in interface ErrorCollection
public void addErrorCollection(@NotNull ErrorCollection errors)
ErrorCollection
addErrorCollection
in interface ErrorCollection
errors
- ErrorCollection whose errors/messages we obtain.public void addErrorMessages(Collection<String> errorMessages)
ErrorCollection
addErrorMessages
in interface ErrorCollection
errorMessages
- Collection of error strings.@Deprecated public Map<String,List<String>> getErrors()
getFieldErrors()
insteadErrorCollection
getErrors
in interface ErrorCollection
@Deprecated public Collection<String> getErrorMessages()
ActionSupport.getActionErrors()
insteadErrorCollection
getErrorMessages
in interface ErrorCollection
@Deprecated public void addErrors(Map<String,?> errors)
ErrorCollection
addErrors
in interface ErrorCollection
errors
- A Map
from String
field names, to String
error messages, or Collection
s of
String
error messages.public void addFieldErrors(@NotNull Map<String,List<String>> errors)
ErrorCollection
addFieldErrors
in interface ErrorCollection
errors
- A Map
from String
field names, to String
error messages, or Collection
s of
String
error messages.public boolean hasAnyErrors()
ErrorCollection
hasAnyErrors
in interface ErrorCollection
true
if there are errors; false
otherwise.public int getTotalErrors()
getTotalErrors
in interface ErrorCollection
public Map<String,List<String>> getFieldErrors()
getFieldErrors
in interface ErrorCollection
getFieldErrors
in interface com.opensymphony.xwork2.interceptor.ValidationAware
getFieldErrors
in class com.opensymphony.xwork2.ActionSupport
@Deprecated public void addError(String field, String message)
ActionSupport.addFieldError(String, String)
insteadErrorCollection
addError
in interface ErrorCollection
field
- Field name, eg. "assignee"message
- Error message.@Deprecated public String addErrorMessage(String message)
addActionError(String)
insteadErrorCollection
addErrorMessage
in interface ErrorCollection
message
- Error message.@Deprecated public void setErrorMessages(Collection<String> errorMessages)
ActionSupport.setActionErrors(Collection)
insteadErrorCollection
setErrorMessages
in interface ErrorCollection
errorMessages
- List of error message String
s.public String addErrorMessage(String message, Exception e)
addErrorMessage
in interface ErrorCollection
public void addIllegalArgumentException(String field, IllegalArgumentException e)
public void setCookieCutter(CookieCutter cookieCutter)
public CookieCutter getCookieCutter()
public void setBambooPermissionManager(BambooPermissionManager bambooPermissionManager)
protected BambooPermissionManager getBambooPermissionManager()
public void setWebInterfaceManager(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager)
public boolean isSelectFieldAndNull(String buildKeysField)
public String getConglomerateCookieValue(String cookieKey, String conglomerateKey)
@Deprecated protected Persister getDefaultPersister()
protected boolean areCheckBoxesEmpty(String field)
@NotNull protected AdministrationConfiguration getAdministrationConfiguration()
@Nullable public String getBaseUrl()
public BambooUrl getBambooUrl()
@Nullable public String getBestBaseUrl()
@Nullable public String getInstanceName()
protected com.opensymphony.xwork2.validator.DelegatingValidatorContext getValidatorContext()
@Nullable protected <T extends com.opensymphony.xwork2.validator.FieldValidator> T createFieldValidator(@NotNull String fieldName, @NotNull Class<T> validatorClass, @NotNull String messageKey, @Nullable String[] messageParameters)
T
- class of the created FieldValidator objectfieldName
- field to be validated by validatorvalidatorClass
- validator classmessageKey
- key of the error message to displaymessageParameters
- parameters to use for formatting of the error messagepublic String getText(String s, Object[] objects)
getText
in interface com.atlassian.core.i18n.I18nTextProvider
protected com.opensymphony.xwork2.TextProvider getTextProvider()
getTextProvider
in class com.opensymphony.xwork2.ActionSupport
public boolean hasKey(String key)
hasKey
in interface com.opensymphony.xwork2.TextProvider
hasKey
in class com.opensymphony.xwork2.ActionSupport
public String getText(String key)
getText
in interface com.atlassian.core.i18n.I18nTextProvider
getText
in interface com.opensymphony.xwork2.TextProvider
getText
in class com.opensymphony.xwork2.ActionSupport
public String getText(String key, String defaultValue)
getText
in interface com.opensymphony.xwork2.TextProvider
getText
in class com.opensymphony.xwork2.ActionSupport
public String getText(String key, String defaultValue, String obj)
getText
in interface com.opensymphony.xwork2.TextProvider
getText
in class com.opensymphony.xwork2.ActionSupport
public String getText(String key, List args)
getText
in interface com.opensymphony.xwork2.TextProvider
getText
in class com.opensymphony.xwork2.ActionSupport
public String getText(String key, String[] args)
getText
in interface com.opensymphony.xwork2.TextProvider
getText
in class com.opensymphony.xwork2.ActionSupport
public String getText(String key, String defaultValue, List args)
getText
in interface com.opensymphony.xwork2.TextProvider
getText
in class com.opensymphony.xwork2.ActionSupport
public String getText(String key, String defaultValue, String[] args)
getText
in interface com.opensymphony.xwork2.TextProvider
getText
in class com.opensymphony.xwork2.ActionSupport
@Deprecated public String getText(String key, String defaultValue, List args, com.opensymphony.xwork2.ognl.OgnlValueStack stack)
@Deprecated public String getText(String key, String defaultValue, String[] args, com.opensymphony.xwork2.ognl.OgnlValueStack stack)
public String getText(String key, String defaultValue, String[] args, com.opensymphony.xwork2.util.ValueStack stack)
getText
in interface com.opensymphony.xwork2.TextProvider
getText
in class com.opensymphony.xwork2.ActionSupport
public String getText(String key, String defaultValue, List args, com.opensymphony.xwork2.util.ValueStack stack)
getText
in interface com.opensymphony.xwork2.TextProvider
getText
in class com.opensymphony.xwork2.ActionSupport
public ResourceBundle getTexts(String bundleName)
getTexts
in interface com.opensymphony.xwork2.TextProvider
getTexts
in class com.opensymphony.xwork2.ActionSupport
public ResourceBundle getTexts()
getTexts
in interface com.opensymphony.xwork2.TextProvider
getTexts
in class com.opensymphony.xwork2.ActionSupport
public void setCheckBoxFields(String[] checkBoxFields)
public boolean isCheckboxSetInAction(@NotNull String checkboxName)
public String getNavigationUrl()
NavigationAware
getNavigationUrl
in interface NavigationAware
public String getChainEquiv()
getChainEquiv
in interface NavigationAware
public void setChainEquiv(String chainEquiv)
public String getJobEquiv()
getJobEquiv
in interface NavigationAware
public void setJobEquiv(String jobEquiv)
public void setNavigationContext(NavigationContext navigationContext)
NavigationAware
setNavigationContext
in interface NavigationAware
public NavigationContext getNavigationContext()
getNavigationContext
in interface NavigationAware
public int getNumberOfCurrentlyBuildingPlans(String planKey)
public Object getSecuredDomainObject()
getSecuredDomainObject
in interface DomainObjectSecurityAware
public BambooUserManager getBambooUserManager()
public void setBambooUserManager(BambooUserManager bambooUserManager)
public BambooUser getSessionUser(String auth) throws BambooRemoteException
BambooRemoteException
public boolean isEnableJavascript()
public void setEnableJavascript(boolean enableJavascript)
public String getCurrentFormTheme()
public void setCurrentFormTheme(String currentFormTheme)
public void setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor)
public void setAdministrationConfigurationManager(AdministrationConfigurationManager administrationConfigurationManager)
public void setAdministrationConfigurationPersister(AdministrationConfigurationPersister administrationConfigurationPersister)
public void setProjectManager(ProjectManager projectManager)
public void setDeploymentProjectService(DeploymentProjectService deploymentProjectService)
public void setBuildDefinitionManager(BuildDefinitionManager buildDefinitionManager)
public PlanManager getPlanManager()
public void setPlanManager(PlanManager planManager)
public void setCachedPlanManager(CachedPlanManager cachedPlanManager)
public void setPlanExecutionManager(PlanExecutionManager planExecutionManager)
public void setI18nBeanFactory(I18nBeanFactory i18nBeanFactory)
public com.atlassian.plugin.PluginAccessor getPluginAccessor()
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
public FeatureManager getFeatureManager()
public void setFeatureManager(FeatureManager featureManager)
public void setJsonator(Jsonator jsonator)
public Collection<String> getFormattedActionErrors()
@NotNull public final Map<String,Object> getWebPanelContext(@NotNull String location)
WebPanel
based on the location specified In the future the results of this
method may be cachedlocation
- @Nullable public ElasticConfiguration getElasticConfig()
public boolean isEc2ConfigurationWarningRequired()
@NotNull protected Map<String,Object> buildWebPanelContext(@NotNull String location)
WebPanel
s via FreemarkerContext.getWebPanels(String)
In
the future the results of this method may be cachedlocation
- public void setDecorator(String decorator)
public boolean isInlineDialog()
public String toJson(Object object, Jsonator.EnumConversionMode enumConversionMode)
public String getAvailableCategoryJson() throws com.opensymphony.webwork.dispatcher.json.JSONException
com.opensymphony.webwork.dispatcher.json.JSONException
public void addHelpPanel(String helpPanel)
@Deprecated public String doExecute() throws Exception
ActionSupport.execute()
insteadException
@Deprecated public String doInput() throws Exception
Exception
public void setDocumentationLinkProvider(DocumentationLinkProvider documentationLinkProvider)
public void setLocalizedTextProvider(com.opensymphony.xwork2.LocalizedTextProvider localizedTextProvider)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.