com.atlassian.jira.plugin.webwork
Class WebworkModuleDescriptor
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor
com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
com.atlassian.jira.plugin.webwork.WebworkModuleDescriptor
- All Implemented Interfaces:
- webwork.config.ConfigurationInterface, com.atlassian.plugin.ModuleDescriptor, com.atlassian.plugin.Resourced
- public class WebworkModuleDescriptor
- extends JiraResourcedModuleDescriptor
- 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 |
static org.apache.log4j.Category |
log
|
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
plugin, singleton |
Methods inherited from class com.atlassian.jira.plugin.JiraResourcedModuleDescriptor |
assertResourceExists, createVelocityParams, getAuthenticationContext, getDefaultVelocityParams, getDescription, getHtml, getHtml, getHttpRequest, getI18nBean, getI18nLocations, getName, getText, getText, isResourceExist |
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
assertModuleClassImplements, destroy, getCompleteKey, getKey, getMinJavaVersion, getModuleClass, getParams, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, satisfiesMinJavaVersion, setPlugin |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final org.apache.log4j.Category log
WebworkModuleDescriptor
public WebworkModuleDescriptor(JiraAuthenticationContext authenticationContext)
init
public void init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
throws com.atlassian.plugin.PluginParseException
- Specified by:
init
in interface com.atlassian.plugin.ModuleDescriptor
- Overrides:
init
in class JiraResourcedModuleDescriptor
- Throws:
com.atlassian.plugin.PluginParseException
getModule
public Object getModule()
- Specified by:
getModule
in interface com.atlassian.plugin.ModuleDescriptor
getImpl
public Object getImpl(String aName)
throws IllegalArgumentException
- Specified by:
getImpl
in interface webwork.config.ConfigurationInterface
- Throws:
IllegalArgumentException
setImpl
public void setImpl(String aName,
Object aValue)
throws IllegalArgumentException,
UnsupportedOperationException
- Specified by:
setImpl
in interface webwork.config.ConfigurationInterface
- Throws:
IllegalArgumentException
UnsupportedOperationException
listImpl
public Iterator listImpl()
- Specified by:
listImpl
in interface webwork.config.ConfigurationInterface
Copyright © 2002-2006 Atlassian. All Rights Reserved.