Package com.atlassian.jira.web.bean
Class WorkflowDescriptorFormatBean
java.lang.Object
com.atlassian.jira.web.bean.WorkflowDescriptorFormatBean
- Direct Known Subclasses:
WorkflowConditionFormatBean
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowDescriptorFormatBean(com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory) WorkflowDescriptorFormatBean(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory) -
Method Summary
Modifier and TypeMethodDescriptionformatDescriptor(com.opensymphony.workflow.loader.AbstractDescriptor descriptor) protected AbstractWorkflowModuleDescriptorgetWorkflowModuleDescriptor(String className, String moduleKey, String pluginType) booleanbooleanisDelete()booleanisEdit()booleanisHasRelevantArgs(Map args) booleanisHighlighted(int count, String current) Determines if the condition is the 'current' one, and should be highlighted.booleanDetermines if thedescriptorCollectionhas only one element in it.booleanbooleanDetermines if thedescriptorCollectionhas more than one element in it.voidsetDelete(boolean delete) voidsetDeleteAction(String deleteAction) voidsetDescriptorCollection(Collection descriptorCollection) voidsetEdit(boolean edit) voidsetEditAction(String editAction) voidsetOperatorTextKey(String operatorTextKey) voidsetOrderable(boolean orderable) voidsetParentPrefix(String parentPrefix) voidsetPluginType(String pluginType)
-
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
-
setDescriptorCollection
-
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
-
setDeleteAction
-
getEditAction
-
setEditAction
-
getPluginType
-
setPluginType
-
isHasRelevantArgs
-
getOperatorTextKey
-
setOperatorTextKey
-
getParentPrefix
-
setParentPrefix
-
isAllowNested
public boolean isAllowNested() -
isHighlighted
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 thedescriptorCollectionhas only one element in it.This method is used from JSPs.
-
isSingleDescriptor
public boolean isSingleDescriptor()Determines if thedescriptorCollectionhas more than one element in it.This method is used from JSPs.
-