Class AbstractWorkflowModuleDescriptor<T>

java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.jira.plugin.AbstractJiraModuleDescriptor<T>
com.atlassian.jira.plugin.workflow.AbstractWorkflowModuleDescriptor<T>
All Implemented Interfaces:
JiraResourcedModuleDescriptor<T>, com.atlassian.plugin.ModuleDescriptor<T>, com.atlassian.plugin.Resourced, com.atlassian.plugin.ScopeAware, com.atlassian.plugin.StateAware, Comparable<AbstractWorkflowModuleDescriptor<T>>
Direct Known Subclasses:
WorkflowConditionModuleDescriptor, WorkflowFunctionModuleDescriptor, WorkflowValidatorModuleDescriptor

public abstract class AbstractWorkflowModuleDescriptor<T> extends AbstractJiraModuleDescriptor<T> implements Comparable<AbstractWorkflowModuleDescriptor<T>>
  • Constructor Details

  • Method Details

    • init

      public void init(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.module.Element element) throws com.atlassian.plugin.PluginParseException
      Specified by:
      init in interface com.atlassian.plugin.ModuleDescriptor<T>
      Overrides:
      init in class AbstractJiraModuleDescriptor<T>
      Throws:
      com.atlassian.plugin.PluginParseException
    • enabled

      public void enabled()
      Specified by:
      enabled in interface com.atlassian.plugin.StateAware
      Overrides:
      enabled in class AbstractJiraModuleDescriptor<T>
    • disabled

      public void disabled()
      Specified by:
      disabled in interface com.atlassian.plugin.StateAware
      Overrides:
      disabled in class AbstractJiraModuleDescriptor<T>
    • getParameterName

      protected abstract String getParameterName()
    • getParamValue

      protected String getParamValue(com.atlassian.plugin.module.Element element, String paramName)
    • getImplementationClass

      public Class<T> getImplementationClass()
    • compareTo

      public int compareTo(AbstractWorkflowModuleDescriptor<T> o)
      Specified by:
      compareTo in interface Comparable<T>
    • getHtml

      public abstract String getHtml(String resourceName, com.opensymphony.workflow.loader.AbstractDescriptor descriptor)
      Get rendered HTML from a resource defined in the plugin descriptor.
      Parameters:
      resourceName - Eg. "view" or "input-parameters"
      descriptor - ??
      Returns:
      HTML rendered from resource (eg. velocity template or JSP)
    • isOrderable

      public abstract boolean isOrderable()
    • isUnique

      public abstract boolean isUnique()
    • isDeletable

      public abstract boolean isDeletable()
    • isAddable

      public abstract boolean isAddable(String actionType)
    • isEditable

      public boolean isEditable()
    • createPluginTypeResolver

      protected AbstractWorkflowModuleDescriptor<T>.com.atlassian.jira.plugin.workflow.AbstractWorkflowModuleDescriptor.PluginTypeResolver createPluginTypeResolver()