public class WorkflowAllowOnlyAssigneeConditionFactoryImpl extends Object implements WorkflowPluginConditionFactory
| Constructor and Description |
|---|
WorkflowAllowOnlyAssigneeConditionFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
Map |
getDescriptorParams(Map conditionParams)
Given a set of name:value parameters from the plugin configuration page (ie.
|
Map |
getVelocityParams(String resourceName,
com.opensymphony.workflow.loader.AbstractDescriptor descriptor)
Given a plugin resource name, return the parameters it needs.
|
public WorkflowAllowOnlyAssigneeConditionFactoryImpl()
public Map getVelocityParams(String resourceName, com.opensymphony.workflow.loader.AbstractDescriptor descriptor)
WorkflowPluginFactorygetVelocityParams in interface WorkflowPluginFactoryresourceName - Typically "view", "input-parameters" or "edit-parameters".descriptor - A ConditionDescriptor describing the Condition and its current configuration.public Map getDescriptorParams(Map conditionParams)
WorkflowPluginFactoryexecute()
or conditions' passesCondition
methods.
The velocity page often submits values in array form, and this method extracts just the relevant value.getDescriptorParams in interface WorkflowPluginFactoryconditionParams - Parameters from the velocity template, eg. {"fieldId" : ["assignee"], "fieldValue":["-1"]}Copyright © 2002-2018 Atlassian. All Rights Reserved.