public abstract class AbstractWorkflowModuleDescriptor<T> extends AbstractJiraModuleDescriptor<T> implements Comparable<AbstractWorkflowModuleDescriptor<T>>
Constructor and Description |
---|
AbstractWorkflowModuleDescriptor(JiraAuthenticationContext authenticationContext,
OSWorkflowConfigurator workflowConfigurator,
ComponentClassManager componentClassManager,
com.atlassian.plugin.module.ModuleFactory moduleFactory) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AbstractWorkflowModuleDescriptor<T> o) |
protected com.atlassian.jira.plugin.workflow.AbstractWorkflowModuleDescriptor.PluginTypeResolver |
createPluginTypeResolver() |
void |
disabled() |
void |
enabled() |
abstract String |
getHtml(String resourceName,
com.opensymphony.workflow.loader.AbstractDescriptor descriptor)
Get rendered HTML from a resource defined in the plugin descriptor.
|
Class<T> |
getImplementationClass() |
protected abstract String |
getParameterName() |
protected String |
getParamValue(org.dom4j.Element element,
String paramName) |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
abstract boolean |
isAddable(String actionType) |
abstract boolean |
isDeletable() |
boolean |
isEditable() |
abstract boolean |
isOrderable() |
abstract boolean |
isUnique() |
assertResourceExists, createModule, createVelocityParams, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getModule, getName, getText, getText, isResourceExist, writeHtml
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, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
destroy, equals, getCompleteKey, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getParams, getPlugin, getPluginKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBroken
public AbstractWorkflowModuleDescriptor(JiraAuthenticationContext authenticationContext, OSWorkflowConfigurator workflowConfigurator, ComponentClassManager componentClassManager, com.atlassian.plugin.module.ModuleFactory moduleFactory)
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<T>
init
in class AbstractJiraModuleDescriptor<T>
com.atlassian.plugin.PluginParseException
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
enabled
in class AbstractJiraModuleDescriptor<T>
public void disabled()
disabled
in interface com.atlassian.plugin.StateAware
disabled
in class AbstractJiraModuleDescriptor<T>
protected abstract String getParameterName()
public int compareTo(AbstractWorkflowModuleDescriptor<T> o)
compareTo
in interface Comparable<AbstractWorkflowModuleDescriptor<T>>
public abstract String getHtml(String resourceName, com.opensymphony.workflow.loader.AbstractDescriptor descriptor)
resourceName
- Eg. "view" or "input-parameters"descriptor
- ??public abstract boolean isOrderable()
public abstract boolean isUnique()
public abstract boolean isDeletable()
public abstract boolean isAddable(String actionType)
public boolean isEditable()
protected com.atlassian.jira.plugin.workflow.AbstractWorkflowModuleDescriptor.PluginTypeResolver createPluginTypeResolver()
Copyright © 2002-2019 Atlassian. All Rights Reserved.