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, extractArgsclearLegacyPermissionArgument, getVelocityParamsForEdit, getVelocityParamsForInput, getVelocityParamsForViewcreateMap, extractMultipleParams, extractSingleParam, getVelocityParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVelocityParamspublic WorkflowUserPermissionValidatorPluginFactory(JiraAuthenticationContext authenticationContext, PermissionManager permissionManager)
protected void populateTemplateParamsForInputAndEdit(Map<String,Object> velocityParams, Map<?,?> descriptorArgs)
populateTemplateParamsForInputAndEdit in class AbstractWorkflowPermissionPluginFactoryprotected void populateTemplateParamsForView(Map<String,Object> velocityParams, Map<?,?> descriptorArgs)
populateTemplateParamsForView in class AbstractWorkflowPermissionPluginFactorypublic Map<String,?> getDescriptorParams(Map<String,Object> 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 WorkflowPluginFactorygetDescriptorParams in class AbstractWorkflowPermissionPluginFactoryconditionParams - Parameters from the velocity template, eg. {"fieldId" : ["assignee"], "fieldValue":["-1"]}Copyright © 2002-2017 Atlassian. All Rights Reserved.