com.atlassian.jira.plugin.workflow
Class WorkflowFunctionModuleDescriptor

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

public class WorkflowFunctionModuleDescriptor
extends AbstractWorkflowModuleDescriptor<WorkflowPluginFunctionFactory>


Field Summary
static java.lang.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
moduleClassName, plugin, resources, singleton
 
Constructor Summary
WorkflowFunctionModuleDescriptor(JiraAuthenticationContext authenticationContext, OSWorkflowConfigurator workflowConfigurator, ComponentClassManager componentClassManager, com.atlassian.plugin.module.ModuleFactory moduleFactory)
           
 
Method Summary
 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.
protected  java.lang.String getParameterName()
           
 java.lang.Integer getWeight()
           
 void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
           
 boolean isAddable(java.lang.String actionType)
           
 boolean isDefault()
           
 boolean isDeletable()
           
 boolean isOrderable()
           
 boolean isUnique()
           
 
Methods inherited from class com.atlassian.jira.plugin.workflow.AbstractWorkflowModuleDescriptor
compareTo, disabled, enabled, getImplementationClass, getParamValue, isEditable
 
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
 

Field Detail

ACTION_TYPE_NON_INITIAL

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

WorkflowFunctionModuleDescriptor

public WorkflowFunctionModuleDescriptor(JiraAuthenticationContext authenticationContext,
                                        OSWorkflowConfigurator workflowConfigurator,
                                        ComponentClassManager componentClassManager,
                                        com.atlassian.plugin.module.ModuleFactory moduleFactory)
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<WorkflowPluginFunctionFactory>
Overrides:
init in class AbstractWorkflowModuleDescriptor<WorkflowPluginFunctionFactory>
Throws:
com.atlassian.plugin.PluginParseException

getParameterName

protected java.lang.String getParameterName()
Specified by:
getParameterName in class AbstractWorkflowModuleDescriptor<WorkflowPluginFunctionFactory>

getHtml

public java.lang.String getHtml(java.lang.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<WorkflowPluginFunctionFactory>
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<WorkflowPluginFunctionFactory>

isUnique

public boolean isUnique()
Specified by:
isUnique in class AbstractWorkflowModuleDescriptor<WorkflowPluginFunctionFactory>

isDeletable

public boolean isDeletable()
Specified by:
isDeletable in class AbstractWorkflowModuleDescriptor<WorkflowPluginFunctionFactory>

isAddable

public boolean isAddable(java.lang.String actionType)
Specified by:
isAddable in class AbstractWorkflowModuleDescriptor<WorkflowPluginFunctionFactory>

getWeight

public java.lang.Integer getWeight()

isDefault

public boolean isDefault()


Copyright © 2002-2010 Atlassian. All Rights Reserved.