com.atlassian.jira.plugin.workflow
Class AbstractWorkflowModuleDescriptor

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor
      extended by com.atlassian.plugin.descriptors.ResourcedModuleDescriptor
          extended by com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
              extended by com.atlassian.jira.plugin.workflow.AbstractWorkflowModuleDescriptor
All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor, java.lang.Comparable
Direct Known Subclasses:
WorkflowConditionModuleDescriptor, WorkflowFunctionModuleDescriptor, WorkflowValidatorModuleDescriptor

public abstract class AbstractWorkflowModuleDescriptor
extends JiraResourcedModuleDescriptor
implements java.lang.Comparable


Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
RESOURCE_TYPE_I18N
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
singleton
 
Constructor Summary
AbstractWorkflowModuleDescriptor(JiraAuthenticationContext authenticationContext)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
abstract  java.lang.String getHtml(java.lang.String resourceName, com.opensymphony.workflow.loader.AbstractDescriptor descriptor)
           
 java.lang.Class getImplementationClass()
           
 java.lang.Object getModule()
           
protected abstract  java.lang.String getParameterName()
           
protected  java.lang.String getParamValue(org.dom4j.Element element, java.lang.String paramName)
           
 void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
           
abstract  boolean isAddable(java.lang.String actionType)
           
abstract  boolean isDeletable()
           
 boolean isEditable()
           
abstract  boolean isOrderable()
           
abstract  boolean isUnique()
           
 
Methods inherited from class com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
createVelocityParams, getAuthenticationContext, getDescription, getHtml, getHtml, getI18nBean, getI18nLocations, getText, getText, isResourceExist
 
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
 

Constructor Detail

AbstractWorkflowModuleDescriptor

public AbstractWorkflowModuleDescriptor(JiraAuthenticationContext authenticationContext)
Method Detail

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

getParameterName

protected abstract java.lang.String getParameterName()

getParamValue

protected java.lang.String getParamValue(org.dom4j.Element element,
                                         java.lang.String paramName)

getModule

public java.lang.Object getModule()
Specified by:
getModule in interface com.atlassian.plugin.ModuleDescriptor
Specified by:
getModule in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor

getImplementationClass

public java.lang.Class getImplementationClass()

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

getHtml

public abstract java.lang.String getHtml(java.lang.String resourceName,
                                         com.opensymphony.workflow.loader.AbstractDescriptor descriptor)

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-2006 Atlassian. All Rights Reserved.