com.atlassian.jira.plugin.workflow
Class AbstractWorkflowModuleDescriptor<T>
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.jira.plugin.JiraResourcedModuleDescriptor<T>
com.atlassian.jira.plugin.workflow.AbstractWorkflowModuleDescriptor<T>
- All Implemented Interfaces:
- com.atlassian.plugin.ModuleDescriptor<T>, com.atlassian.plugin.Resourced, com.atlassian.plugin.StateAware, java.lang.Comparable<AbstractWorkflowModuleDescriptor<T>>
- Direct Known Subclasses:
- WorkflowConditionModuleDescriptor, WorkflowFunctionModuleDescriptor, WorkflowValidatorModuleDescriptor
public abstract class AbstractWorkflowModuleDescriptor<T>
- extends JiraResourcedModuleDescriptor<T>
- implements java.lang.Comparable<AbstractWorkflowModuleDescriptor<T>>
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
moduleClassName, plugin, resources, singleton |
Methods inherited from class com.atlassian.jira.plugin.JiraResourcedModuleDescriptor |
assertResourceExists, createModule, createVelocityParams, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getModule, getName, getText, getText, isResourceExist |
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
assertModuleClassImplements, destroy, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractWorkflowModuleDescriptor
public AbstractWorkflowModuleDescriptor(JiraAuthenticationContext authenticationContext,
OSWorkflowConfigurator workflowConfigurator,
ComponentClassManager componentClassManager,
com.atlassian.plugin.module.ModuleFactory moduleFactory)
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<T>
- Overrides:
init
in class JiraResourcedModuleDescriptor<T>
- Throws:
com.atlassian.plugin.PluginParseException
enabled
public void enabled()
- Specified by:
enabled
in interface com.atlassian.plugin.StateAware
- Overrides:
enabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
disabled
public void disabled()
- Specified by:
disabled
in interface com.atlassian.plugin.StateAware
- Overrides:
disabled
in class JiraResourcedModuleDescriptor<T>
getParameterName
protected abstract java.lang.String getParameterName()
getParamValue
protected java.lang.String getParamValue(org.dom4j.Element element,
java.lang.String paramName)
getImplementationClass
public java.lang.Class<T> getImplementationClass()
compareTo
public int compareTo(AbstractWorkflowModuleDescriptor<T> o)
- Specified by:
compareTo
in interface java.lang.Comparable<AbstractWorkflowModuleDescriptor<T>>
getHtml
public abstract java.lang.String getHtml(java.lang.String resourceName,
com.opensymphony.workflow.loader.AbstractDescriptor descriptor)
- Get rendered HTML from a resource defined in the plugin descriptor.
- Parameters:
resourceName
- Eg. "view" or "input-parameters"descriptor
- ??
- Returns:
- HTML rendered from resource (eg. velocity template or JSP)
isOrderable
public abstract boolean isOrderable()
isUnique
public abstract boolean isUnique()
isDeletable
public abstract boolean isDeletable()
isAddable
public abstract boolean isAddable(java.lang.String actionType)
isEditable
public boolean isEditable()
Copyright © 2002-2011 Atlassian. All Rights Reserved.