public class WorkflowUserPermissionValidatorPluginFactory extends WorkflowPermissionValidatorPluginFactory
Constructor and Description |
---|
WorkflowUserPermissionValidatorPluginFactory(JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager) |
Modifier and Type | Method and Description |
---|---|
Map<String,?> |
getDescriptorParams(Map<String,Object> conditionParams)
Given a set of name:value parameters from the plugin configuration page (ie.
|
protected void |
populateTemplateParamsForInputAndEdit(Map<String,Object> velocityParams,
Map<?,?> descriptorArgs) |
protected void |
populateTemplateParamsForView(Map<String,Object> velocityParams,
Map<?,?> descriptorArgs) |
beforeSaveOnEdit, extractArgs
clearLegacyPermissionArgument, getVelocityParamsForEdit, getVelocityParamsForInput, getVelocityParamsForView
createMap, extractMultipleParams, extractSingleParam, getVelocityParams
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVelocityParams
public WorkflowUserPermissionValidatorPluginFactory(JiraAuthenticationContext authenticationContext, PermissionManager permissionManager)
protected void populateTemplateParamsForInputAndEdit(Map<String,Object> velocityParams, Map<?,?> descriptorArgs)
populateTemplateParamsForInputAndEdit
in class AbstractWorkflowPermissionPluginFactory
protected void populateTemplateParamsForView(Map<String,Object> velocityParams, Map<?,?> descriptorArgs)
populateTemplateParamsForView
in class AbstractWorkflowPermissionPluginFactory
public Map<String,?> getDescriptorParams(Map<String,Object> 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
getDescriptorParams
in class AbstractWorkflowPermissionPluginFactory
conditionParams
- Parameters from the velocity template, eg. {"fieldId" : ["assignee"], "fieldValue":["-1"]}Copyright © 2002-2015 Atlassian. All Rights Reserved.