com.atlassian.jira.plugin.workflow
Class WorkflowValidatorModuleDescriptor

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<WorkflowPluginValidatorFactory>
              extended by com.atlassian.jira.plugin.workflow.WorkflowValidatorModuleDescriptor
All Implemented Interfaces:
JiraResourcedModuleDescriptor<WorkflowPluginValidatorFactory>, com.atlassian.plugin.ModuleDescriptor<WorkflowPluginValidatorFactory>, com.atlassian.plugin.Resourced, com.atlassian.plugin.StateAware, Comparable<AbstractWorkflowModuleDescriptor<WorkflowPluginValidatorFactory>>

public class WorkflowValidatorModuleDescriptor
extends AbstractWorkflowModuleDescriptor<WorkflowPluginValidatorFactory>


Field Summary
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources, singleton
 
Constructor Summary
WorkflowValidatorModuleDescriptor(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, createPluginTypeResolver, 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, writeHtml
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, destroy, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getParams, getPlugin, getPluginKey, getRequiredPermissions, 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, 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

WorkflowValidatorModuleDescriptor

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

getParameterName

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

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

isUnique

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

isDeletable

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

isAddable

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.