com.atlassian.bamboo.plugin.xwork
Class PluginAwareActionConfig

java.lang.Object
  extended by com.opensymphony.xwork2.util.location.Located
      extended by com.opensymphony.xwork2.config.entities.ActionConfig
          extended by com.atlassian.bamboo.plugin.xwork.PluginAwareActionConfig
All Implemented Interfaces:
com.opensymphony.xwork2.util.location.Locatable, Serializable

public class PluginAwareActionConfig
extends com.opensymphony.xwork2.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:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.opensymphony.xwork2.config.entities.ActionConfig
com.opensymphony.xwork2.config.entities.ActionConfig.Builder
 
Field Summary
 
Fields inherited from class com.opensymphony.xwork2.config.entities.ActionConfig
allowedMethods, className, DEFAULT_METHOD, exceptionMappings, interceptors, methodName, name, packageName, params, results, WILDCARD
 
Fields inherited from class com.opensymphony.xwork2.util.location.Located
location
 
Constructor Summary
PluginAwareActionConfig(PluginAwareActionConfig baseConfig, com.opensymphony.xwork2.config.entities.ActionConfig.Builder builder)
           
PluginAwareActionConfig(String actionName, String methodName, String className, Map parameters, Map results, List interceptors)
           
PluginAwareActionConfig(String actionName, String methodName, String className, String packageName, Map<String,String> params, Map<String,com.opensymphony.xwork2.config.entities.ResultConfig> results, List<com.opensymphony.xwork2.config.entities.InterceptorMapping> interceptors, List<com.opensymphony.xwork2.config.entities.ExceptionMappingConfig> exceptionMappings)
           
 
Method Summary
 com.atlassian.plugin.Plugin getPlugin()
           
 void setPlugin(com.atlassian.plugin.Plugin plugin)
           
 
Methods inherited from class com.opensymphony.xwork2.config.entities.ActionConfig
equals, getAllowedMethods, getClassName, getExceptionMappings, getInterceptors, getMethodName, getName, getPackageName, getParams, getResults, hashCode, isAllowedMethod, toString
 
Methods inherited from class com.opensymphony.xwork2.util.location.Located
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PluginAwareActionConfig

public PluginAwareActionConfig(String actionName,
                               String methodName,
                               String className,
                               @Nullable
                               Map parameters,
                               @Nullable
                               Map results,
                               @Nullable
                               List interceptors)

PluginAwareActionConfig

public PluginAwareActionConfig(String actionName,
                               String methodName,
                               String className,
                               String packageName,
                               @Nullable
                               Map<String,String> params,
                               @Nullable
                               Map<String,com.opensymphony.xwork2.config.entities.ResultConfig> results,
                               @Nullable
                               List<com.opensymphony.xwork2.config.entities.InterceptorMapping> interceptors,
                               List<com.opensymphony.xwork2.config.entities.ExceptionMappingConfig> exceptionMappings)

PluginAwareActionConfig

public PluginAwareActionConfig(PluginAwareActionConfig baseConfig,
                               com.opensymphony.xwork2.config.entities.ActionConfig.Builder builder)
Method Detail

getPlugin

public com.atlassian.plugin.Plugin getPlugin()

setPlugin

public void setPlugin(com.atlassian.plugin.Plugin plugin)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.