com.atlassian.jira.plugin.webwork
Class WebworkModuleDescriptor
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor
com.atlassian.plugin.descriptors.ResourcedModuleDescriptor
com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
com.atlassian.jira.plugin.webwork.WebworkModuleDescriptor
- All Implemented Interfaces:
- webwork.config.ConfigurationInterface, com.atlassian.plugin.ModuleDescriptor
- 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.ResourcedModuleDescriptor |
|
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
singleton |
Method Summary |
java.lang.Object |
getImpl(java.lang.String aName)
|
java.lang.Object |
getModule()
|
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
|
java.util.Iterator |
listImpl()
|
void |
setImpl(java.lang.String aName,
java.lang.Object aValue)
|
Methods inherited from class com.atlassian.plugin.descriptors.ResourcedModuleDescriptor |
getResourceDescriptor, getResourceDescriptors, getResourceDescriptors |
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
assertModuleClassImplements, getCompleteKey, getKey, getModuleClass, getName, getParams, isEnabledByDefault, isSingleton, isSingletonByDefault |
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 java.lang.Object getModule()
- Specified by:
getModule
in interface com.atlassian.plugin.ModuleDescriptor
getImpl
public java.lang.Object getImpl(java.lang.String aName)
throws java.lang.IllegalArgumentException
- Specified by:
getImpl
in interface webwork.config.ConfigurationInterface
- Throws:
java.lang.IllegalArgumentException
setImpl
public void setImpl(java.lang.String aName,
java.lang.Object aValue)
throws java.lang.IllegalArgumentException,
java.lang.UnsupportedOperationException
- Specified by:
setImpl
in interface webwork.config.ConfigurationInterface
- Throws:
java.lang.IllegalArgumentException
java.lang.UnsupportedOperationException
listImpl
public java.util.Iterator listImpl()
- Specified by:
listImpl
in interface webwork.config.ConfigurationInterface
Copyright © 2002-2005 Atlassian. All Rights Reserved.