com.atlassian.jira.plugin.workflow
Class WorkflowConditionModuleDescriptor

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

public class WorkflowConditionModuleDescriptor
extends AbstractWorkflowModuleDescriptor<WorkflowPluginConditionFactory>


Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor
RESOURCE_TYPE_I18N
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
moduleClass, moduleClassName, plugin, resources, singleton
 
Constructor Summary
WorkflowConditionModuleDescriptor(JiraAuthenticationContext authenticationContext, OSWorkflowConfigurator workflowConfigurator, ComponentClassManager componentClassManager, com.atlassian.plugin.module.ModuleFactory moduleFactory)
           
 
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()
           
 boolean isAddable(String actionType)
           
 boolean isDeletable()
           
 boolean isOrderable()
           
 boolean isUnique()
           
 
Methods inherited from class com.atlassian.jira.plugin.workflow.AbstractWorkflowModuleDescriptor
compareTo, disabled, enabled, getImplementationClass, getParamValue, init, isEditable
 
Methods inherited from class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor
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, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getParams, getPlugin, getPluginKey, hashCode, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion
 
Methods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation
 

Constructor Detail

WorkflowConditionModuleDescriptor

public WorkflowConditionModuleDescriptor(JiraAuthenticationContext authenticationContext,
                                         OSWorkflowConfigurator workflowConfigurator,
                                         ComponentClassManager componentClassManager,
                                         com.atlassian.plugin.module.ModuleFactory moduleFactory)
Method Detail

getParameterName

protected String getParameterName()
Specified by:
getParameterName in class AbstractWorkflowModuleDescriptor<WorkflowPluginConditionFactory>

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<WorkflowPluginConditionFactory>
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<WorkflowPluginConditionFactory>

isUnique

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

isDeletable

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

isAddable

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


Copyright © 2002-2013 Atlassian. All Rights Reserved.