Class WebworkModuleDescriptor
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
com.atlassian.jira.plugin.AbstractJiraModuleDescriptor<Void>
com.atlassian.jira.plugin.webwork.WebworkModuleDescriptor
- All Implemented Interfaces:
JiraResourcedModuleDescriptor<Void>,com.atlassian.plugin.ModuleDescriptor<Void>,com.atlassian.plugin.Resourced,com.atlassian.plugin.ScopeAware,com.atlassian.plugin.StateAware,webwork.config.ConfigurationInterface
public class WebworkModuleDescriptor
extends AbstractJiraModuleDescriptor<Void>
implements webwork.config.ConfigurationInterface
This module descriptor allows for plugins to include webwork actions inside plugins.
The XML looks something like this:
<webwork key="webwork-test" name="Test webwork plugin" >
<actions>
<action name="PluginActionClassName" alias="PluginAction">
<view name="success">/views/administrators.vm</view>
</action>
</actions>
</webwork>
-
Field Summary
FieldsFields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources -
Constructor Summary
ConstructorsConstructorDescriptionWebworkModuleDescriptor(JiraAuthenticationContext authenticationContext, AutowireCapableWebworkActionRegistry autowireCapabaleWebworkActionRegistry, com.atlassian.plugin.module.ModuleFactory moduleFactory) -
Method Summary
Methods inherited from class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor
assertResourceExists, createModule, createVelocityParams, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getName, getText, getText, isResourceExist, writeHtmlMethods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, satisfiesMinJavaVersion, setBroken, setPlugin, toString, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, equals, getCompleteKey, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getParams, getPlugin, getPluginKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBrokenMethods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceLocationMethods inherited from interface com.atlassian.plugin.ScopeAware
getScopeKey
-
Field Details
-
log
public static final org.apache.log4j.Logger log
-
-
Constructor Details
-
WebworkModuleDescriptor
public WebworkModuleDescriptor(JiraAuthenticationContext authenticationContext, AutowireCapableWebworkActionRegistry autowireCapabaleWebworkActionRegistry, com.atlassian.plugin.module.ModuleFactory moduleFactory)
-
-
Method Details
-
init
public void init(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.module.Element element) throws com.atlassian.plugin.PluginParseException - Specified by:
initin interfacecom.atlassian.plugin.ModuleDescriptor<Void>- Overrides:
initin classAbstractJiraModuleDescriptor<Void>- Throws:
com.atlassian.plugin.PluginParseException
-
disabled
public void disabled()- Specified by:
disabledin interfacecom.atlassian.plugin.StateAware- Overrides:
disabledin classAbstractJiraModuleDescriptor<Void>
-
enabled
public void enabled()- Specified by:
enabledin interfacecom.atlassian.plugin.StateAware- Overrides:
enabledin classAbstractJiraModuleDescriptor<Void>
-
getModule
- Specified by:
getModulein interfacecom.atlassian.plugin.ModuleDescriptor<Void>- Overrides:
getModulein classAbstractJiraModuleDescriptor<Void>
-
getImpl
- Specified by:
getImplin interfacewebwork.config.ConfigurationInterface- Throws:
IllegalArgumentException
-
setImpl
public void setImpl(String aName, Object aValue) throws IllegalArgumentException, UnsupportedOperationException - Specified by:
setImplin interfacewebwork.config.ConfigurationInterface- Throws:
IllegalArgumentExceptionUnsupportedOperationException
-
listImpl
- Specified by:
listImplin interfacewebwork.config.ConfigurationInterface
-
getWebworkDocument
public electric.xml.Document getWebworkDocument()
-