com.atlassian.jira.plugin.workflow
Class WorkflowFunctionModuleDescriptor

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor
      extended by com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
          extended by com.atlassian.jira.plugin.workflow.AbstractWorkflowModuleDescriptor
              extended by com.atlassian.jira.plugin.workflow.WorkflowFunctionModuleDescriptor
All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor, com.atlassian.plugin.Resourced, Comparable

public class WorkflowFunctionModuleDescriptor
extends AbstractWorkflowModuleDescriptor


Field Summary
static String ACTION_TYPE_NON_INITIAL
           
 
Fields inherited from class com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
RESOURCE_TYPE_I18N
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
plugin, resources, singleton
 
Constructor Summary
WorkflowFunctionModuleDescriptor(JiraAuthenticationContext authenticationContext)
           
 
Method Summary
 String getHtml(String resourceName, com.opensymphony.workflow.loader.AbstractDescriptor descriptor)
          Get rendered HTML from a resource defined in the plugin descriptor.
protected  String getParameterName()
           
 Integer getWeight()
           
 void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
           
 boolean isAddable(String actionType)
           
 boolean isDefault()
           
 boolean isDeletable()
           
 boolean isOrderable()
           
 boolean isUnique()
           
 
Methods inherited from class com.atlassian.jira.plugin.workflow.AbstractWorkflowModuleDescriptor
compareTo, getImplementationClass, getModule, getParamValue, isEditable
 
Methods inherited from class com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
assertResourceExists, createVelocityParams, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getI18nLocations, 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, satisfiesMinJavaVersion, setPlugin, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ACTION_TYPE_NON_INITIAL

public static final String ACTION_TYPE_NON_INITIAL
See Also:
Constant Field Values
Constructor Detail

WorkflowFunctionModuleDescriptor

public WorkflowFunctionModuleDescriptor(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 AbstractWorkflowModuleDescriptor
Throws:
com.atlassian.plugin.PluginParseException

getParameterName

protected String getParameterName()
Specified by:
getParameterName in class AbstractWorkflowModuleDescriptor

getHtml

public String getHtml(String resourceName,
                      com.opensymphony.workflow.loader.AbstractDescriptor descriptor)
Description copied from class: AbstractWorkflowModuleDescriptor
Get rendered HTML from a resource defined in the plugin descriptor.

Specified by:
getHtml in class AbstractWorkflowModuleDescriptor
Parameters:
resourceName - Eg. "view" or "input-parameters"
descriptor - ??
Returns:
HTML rendered from resource (eg. velocity template or JSP)

isOrderable

public boolean isOrderable()
Specified by:
isOrderable in class AbstractWorkflowModuleDescriptor

isUnique

public boolean isUnique()
Specified by:
isUnique in class AbstractWorkflowModuleDescriptor

isDeletable

public boolean isDeletable()
Specified by:
isDeletable in class AbstractWorkflowModuleDescriptor

isAddable

public boolean isAddable(String actionType)
Specified by:
isAddable in class AbstractWorkflowModuleDescriptor

getWeight

public Integer getWeight()

isDefault

public boolean isDefault()


Copyright © 2002-2008 Atlassian. All Rights Reserved.