Class PluginAwareActionConfig
java.lang.Object
org.apache.struts2.util.location.Located
org.apache.struts2.config.entities.ActionConfig
com.atlassian.crowd.plugin.descriptors.webwork.PluginAwareActionConfig
- All Implemented Interfaces:
Serializable
,org.apache.struts2.util.location.Locatable
public class PluginAwareActionConfig
extends org.apache.struts2.config.entities.ActionConfig
ActionConfig that contains a reference to its parent
plugin. This allows the action to access the classes
of the plugin (provided by the OSGi class loader).
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.struts2.config.entities.ActionConfig
org.apache.struts2.config.entities.ActionConfig.Builder
-
Field Summary
Fields inherited from class org.apache.struts2.config.entities.ActionConfig
allowedMethods, className, DEFAULT_METHOD, DEFAULT_METHOD_REGEX, exceptionMappings, interceptors, methodName, name, packageName, params, results, strictMethodInvocation, WILDCARD
Fields inherited from class org.apache.struts2.util.location.Located
location
-
Constructor Summary
ConstructorsConstructorDescriptionPluginAwareActionConfig
(org.apache.struts2.config.entities.ActionConfig config, com.atlassian.plugin.Plugin plugin) -
Method Summary
Modifier and TypeMethodDescriptionstatic PluginAwareActionConfig
build
(String methodName, String className, String name, Map<String, String> parameters, Map<String, org.apache.struts2.config.entities.ResultConfig> results, List<org.apache.struts2.config.entities.InterceptorMapping> interceptors, List<? extends org.apache.struts2.config.entities.ExceptionMappingConfig> exceptionMappings, String packageName, List<String> allowedMethods) com.atlassian.plugin.Plugin
void
setPlugin
(com.atlassian.plugin.Plugin plugin) Methods inherited from class org.apache.struts2.config.entities.ActionConfig
equals, getAllowedMethods, getClassName, getExceptionMappings, getInterceptors, getMethodName, getName, getPackageName, getParams, getResults, hashCode, isAllowedMethod, isStrictMethodInvocation, toString
Methods inherited from class org.apache.struts2.util.location.Located
getLocation, setLocation
-
Constructor Details
-
PluginAwareActionConfig
public PluginAwareActionConfig(org.apache.struts2.config.entities.ActionConfig config, com.atlassian.plugin.Plugin plugin)
-
-
Method Details
-
getPlugin
public com.atlassian.plugin.Plugin getPlugin() -
setPlugin
public void setPlugin(com.atlassian.plugin.Plugin plugin) -
build
public static PluginAwareActionConfig build(String methodName, String className, String name, Map<String, String> parameters, Map<String, org.apache.struts2.config.entities.ResultConfig> results, List<org.apache.struts2.config.entities.InterceptorMapping> interceptors, List<? extends org.apache.struts2.config.entities.ExceptionMappingConfig> exceptionMappings, String packageName, List<String> allowedMethods)
-