Class WorkflowDescriptorFormatBean

java.lang.Object
com.atlassian.jira.web.bean.WorkflowDescriptorFormatBean
Direct Known Subclasses:
WorkflowConditionFormatBean

public class WorkflowDescriptorFormatBean extends Object
  • Constructor Details

    • WorkflowDescriptorFormatBean

      public WorkflowDescriptorFormatBean(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory)
    • WorkflowDescriptorFormatBean

      public WorkflowDescriptorFormatBean(com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory)
  • Method Details

    • formatDescriptor

      public WorkflowDescriptorInfo formatDescriptor(com.opensymphony.workflow.loader.AbstractDescriptor descriptor)
    • getWorkflowModuleDescriptor

      protected AbstractWorkflowModuleDescriptor getWorkflowModuleDescriptor(String className, String moduleKey, String pluginType) throws com.atlassian.plugin.PluginParseException
      Throws:
      com.atlassian.plugin.PluginParseException
    • getDescriptorCollection

      public Collection getDescriptorCollection()
    • setDescriptorCollection

      public void setDescriptorCollection(Collection descriptorCollection)
    • isDelete

      public boolean isDelete()
    • setDelete

      public void setDelete(boolean delete)
    • isOrderable

      public boolean isOrderable()
    • setOrderable

      public void setOrderable(boolean orderable)
    • isEdit

      public boolean isEdit()
    • setEdit

      public void setEdit(boolean edit)
    • getDeleteAction

      public String getDeleteAction()
    • setDeleteAction

      public void setDeleteAction(String deleteAction)
    • getEditAction

      public String getEditAction()
    • setEditAction

      public void setEditAction(String editAction)
    • getPluginType

      public String getPluginType()
    • setPluginType

      public void setPluginType(String pluginType)
    • isHasRelevantArgs

      public boolean isHasRelevantArgs(Map args)
    • getOperatorTextKey

      public String getOperatorTextKey()
    • setOperatorTextKey

      public void setOperatorTextKey(String operatorTextKey)
    • getParentPrefix

      public String getParentPrefix()
    • setParentPrefix

      public void setParentPrefix(String parentPrefix)
    • isAllowNested

      public boolean isAllowNested()
    • isHighlighted

      public boolean isHighlighted(int count, String current)
      Determines if the condition is the 'current' one, and should be highlighted. For example, when a condition is added to a Conditions block it is highlighted.

      This method is used from JSPs.

    • isMultipleDescriptors

      public boolean isMultipleDescriptors()
      Determines if the descriptorCollection has only one element in it.

      This method is used from JSPs.

    • isSingleDescriptor

      public boolean isSingleDescriptor()
      Determines if the descriptorCollection has more than one element in it.

      This method is used from JSPs.