public class WorkflowDescriptorFormatBean extends Object
Constructor and Description |
---|
WorkflowDescriptorFormatBean() |
WorkflowDescriptorFormatBean(com.atlassian.plugin.PluginAccessor pluginAccessor) |
Modifier and Type | Method and Description |
---|---|
WorkflowDescriptorInfo |
formatDescriptor(com.opensymphony.workflow.loader.AbstractDescriptor descriptor) |
String |
getDeleteAction() |
Collection |
getDescriptorCollection() |
String |
getEditAction() |
String |
getOperatorTextKey() |
String |
getParentPrefix() |
String |
getPluginType() |
protected AbstractWorkflowModuleDescriptor |
getWorkflowModuleDescriptor(String className,
String moduleKey,
String pluginType) |
boolean |
isAllowNested() |
boolean |
isDelete() |
boolean |
isEdit() |
boolean |
isHasRelevantArgs(Map args) |
boolean |
isHighlighted(int count,
String current)
Determines if the condition is the 'current' one, and should be highlighted.
|
boolean |
isMultipleDescriptors()
Determines if the
descriptorCollection has only one element in it. |
boolean |
isOrderable() |
boolean |
isSingleDescriptor()
Determines if the
descriptorCollection has more than one element in it. |
void |
setDelete(boolean delete) |
void |
setDeleteAction(String deleteAction) |
void |
setDescriptorCollection(Collection descriptorCollection) |
void |
setEdit(boolean edit) |
void |
setEditAction(String editAction) |
void |
setOperatorTextKey(String operatorTextKey) |
void |
setOrderable(boolean orderable) |
void |
setParentPrefix(String parentPrefix) |
void |
setPluginType(String pluginType) |
public WorkflowDescriptorFormatBean(com.atlassian.plugin.PluginAccessor pluginAccessor)
public WorkflowDescriptorFormatBean()
public WorkflowDescriptorInfo formatDescriptor(com.opensymphony.workflow.loader.AbstractDescriptor descriptor)
protected AbstractWorkflowModuleDescriptor getWorkflowModuleDescriptor(String className, String moduleKey, String pluginType) throws com.atlassian.plugin.PluginParseException
com.atlassian.plugin.PluginParseException
public Collection getDescriptorCollection()
public void setDescriptorCollection(Collection descriptorCollection)
public boolean isDelete()
public void setDelete(boolean delete)
public boolean isOrderable()
public void setOrderable(boolean orderable)
public boolean isEdit()
public void setEdit(boolean edit)
public String getDeleteAction()
public void setDeleteAction(String deleteAction)
public String getEditAction()
public void setEditAction(String editAction)
public String getPluginType()
public void setPluginType(String pluginType)
public boolean isHasRelevantArgs(Map args)
public String getOperatorTextKey()
public void setOperatorTextKey(String operatorTextKey)
public String getParentPrefix()
public void setParentPrefix(String parentPrefix)
public boolean isAllowNested()
public boolean isHighlighted(int count, String current)
This method is used from JSPs.
public boolean isMultipleDescriptors()
descriptorCollection
has only one element in it.
This method is used from JSPs.
public boolean isSingleDescriptor()
descriptorCollection
has more than one element in it.
This method is used from JSPs.
Copyright © 2002-2015 Atlassian. All Rights Reserved.