|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.plugin.workflow.WorkflowAllowOnlyAssigneeConditionFactoryImpl
public class WorkflowAllowOnlyAssigneeConditionFactoryImpl
Constructor Summary | |
---|---|
WorkflowAllowOnlyAssigneeConditionFactoryImpl()
|
Method Summary | |
---|---|
java.util.Map |
getDescriptorParams(java.util.Map conditionParams)
Given a set of name:value parameters from the plugin configuration page (ie. |
java.util.Map |
getVelocityParams(java.lang.String resourceName,
com.opensymphony.workflow.loader.AbstractDescriptor descriptor)
Given a plugin resource name, return the parameters it needs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkflowAllowOnlyAssigneeConditionFactoryImpl()
Method Detail |
---|
public java.util.Map getVelocityParams(java.lang.String resourceName, com.opensymphony.workflow.loader.AbstractDescriptor descriptor)
WorkflowPluginFactory
getVelocityParams
in interface WorkflowPluginFactory
resourceName
- Typically "view", "input-parameters" or "edit-parameters".descriptor
- A ConditionDescriptor
describing the Condition and its current configuration.
public java.util.Map getDescriptorParams(java.util.Map conditionParams)
WorkflowPluginFactory
execute()
or conditions' passesCondition
methods.
The velocity page often submits values in array form, and this method extracts just the relevant value.
getDescriptorParams
in interface WorkflowPluginFactory
conditionParams
- Parameters from the velocity template, eg. {"fieldId" : ["assignee"], "fieldValue":["-1"]}
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |