public class

WorkflowPermissionValidatorPluginFactory

extends AbstractWorkflowPermissionPluginFactory
implements WorkflowPluginValidatorFactory
java.lang.Object
   ↳ com.atlassian.jira.plugin.workflow.AbstractWorkflowPluginFactory
     ↳ com.atlassian.jira.plugin.workflow.AbstractWorkflowPermissionPluginFactory
       ↳ com.atlassian.jira.plugin.workflow.WorkflowPermissionValidatorPluginFactory

Summary

Public Constructors
WorkflowPermissionValidatorPluginFactory(SchemePermissions schemePermissions)
Public Methods
Map getDescriptorParams(Map conditionParams)
Protected Methods
void getVelocityParamsForEdit(Map velocityParams, AbstractDescriptor descriptor)
Populates the given map with velocity parameters for 'edit-parameters' velocity template.
void getVelocityParamsForView(Map velocityParams, AbstractDescriptor descriptor)
Populates the given map with velocity parameters for 'view' velocity template.
[Expand]
Inherited Methods
From class com.atlassian.jira.plugin.workflow.AbstractWorkflowPermissionPluginFactory
From class com.atlassian.jira.plugin.workflow.AbstractWorkflowPluginFactory
From class java.lang.Object
From interface com.atlassian.jira.plugin.workflow.WorkflowPluginFactory

Public Constructors

public WorkflowPermissionValidatorPluginFactory (SchemePermissions schemePermissions)

Public Methods

public Map getDescriptorParams (Map conditionParams)

Protected Methods

protected void getVelocityParamsForEdit (Map velocityParams, AbstractDescriptor descriptor)

Populates the given map with velocity parameters for 'edit-parameters' velocity template. Typically an implementation would call descriptor.getArgs() to retrieve the current configuration, and populate velocityParams from that.

Parameters
velocityParams Map to populate.
descriptor Eg. FunctionDescriptor or ConditionDescriptor describing the function/condition and its current configuration.

protected void getVelocityParamsForView (Map velocityParams, AbstractDescriptor descriptor)

Populates the given map with velocity parameters for 'view' velocity template. Eg. call descriptor.getArgs() to retrieve the current configuration, look up a displayable string for the value and and populate velocityParams with that.

Parameters
velocityParams Map to populate.
descriptor Eg. a FunctionDescriptor or ConditionDescriptor describing the function/condition and its current configuration.