|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.jira.plugin.AbstractJiraModuleDescriptor<Void>
com.atlassian.jira.plugin.webwork.WebworkModuleDescriptor
public class WebworkModuleDescriptor
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.Logger |
log
|
Fields inherited from class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor |
---|
RESOURCE_TYPE_I18N |
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
---|
moduleClass, moduleClassName, plugin, resources, singleton |
Constructor Summary | |
---|---|
WebworkModuleDescriptor(JiraAuthenticationContext authenticationContext,
AutowireCapableWebworkActionRegistry autowireCapabaleWebworkActionRegistry,
com.atlassian.plugin.module.ModuleFactory moduleFactory)
|
Method Summary | |
---|---|
void |
disabled()
|
void |
enabled()
|
Object |
getImpl(String aName)
|
Void |
getModule()
|
electric.xml.Document |
getWebworkDocument()
|
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
|
Iterator |
listImpl()
|
void |
setImpl(String aName,
Object aValue)
|
Methods inherited from class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor |
---|
assertResourceExists, createModule, createVelocityParams, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getName, getText, getText, isResourceExist |
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
---|
assertModuleClassImplements, destroy, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor |
---|
destroy, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getParams, getPlugin, getPluginKey, hashCode, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion |
Methods inherited from interface com.atlassian.plugin.Resourced |
---|
getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation |
Field Detail |
---|
public static final org.apache.log4j.Logger log
Constructor Detail |
---|
public WebworkModuleDescriptor(JiraAuthenticationContext authenticationContext, AutowireCapableWebworkActionRegistry autowireCapabaleWebworkActionRegistry, com.atlassian.plugin.module.ModuleFactory moduleFactory)
Method Detail |
---|
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<Void>
init
in class AbstractJiraModuleDescriptor<Void>
com.atlassian.plugin.PluginParseException
public void disabled()
disabled
in interface com.atlassian.plugin.StateAware
disabled
in class AbstractJiraModuleDescriptor<Void>
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
enabled
in class AbstractJiraModuleDescriptor<Void>
public Void getModule()
getModule
in interface com.atlassian.plugin.ModuleDescriptor<Void>
getModule
in class AbstractJiraModuleDescriptor<Void>
public Object getImpl(String aName) throws IllegalArgumentException
getImpl
in interface webwork.config.ConfigurationInterface
IllegalArgumentException
public void setImpl(String aName, Object aValue) throws IllegalArgumentException, UnsupportedOperationException
setImpl
in interface webwork.config.ConfigurationInterface
IllegalArgumentException
UnsupportedOperationException
public Iterator listImpl()
listImpl
in interface webwork.config.ConfigurationInterface
public electric.xml.Document getWebworkDocument()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |