com.atlassian.jira.plugin.workflow
Class WorkflowFunctionModuleDescriptor

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

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, 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, getDefaultVelocityParams, getDescription, getHtml, getHtml, getHttpRequest, getI18nBean, getI18nLocations, getName, getText, getText, isResourceExist
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, destroy, getCompleteKey, getKey, getMinJavaVersion, getModuleClass, getParams, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, satisfiesMinJavaVersion, setPlugin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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-2006 Atlassian. All Rights Reserved.