Known Direct Subclasses
|
Known Indirect Subclasses
|
Class Overview
A common base class for Workflow Plugin Factories that are concerned with Permissions.
Summary
| Protected Methods |
|
void
|
clearLegacyPermissionArgument(Map<?, ?> descriptorArgs)
|
|
abstract
Map<?, ?>
|
extractArgs(AbstractDescriptor descriptor)
|
|
void
|
getVelocityParamsForEdit(Map<String, Object> velocityParams, AbstractDescriptor descriptor)
Populates the given map with velocity parameters for 'edit-parameters' velocity template.
|
|
void
|
getVelocityParamsForInput(Map<String, Object> velocityParams)
Get velocity parameters for 'input-parameters' velocity template.
|
|
void
|
getVelocityParamsForView(Map<String, Object> velocityParams, AbstractDescriptor descriptor)
Populates the given map with velocity parameters for 'view' velocity template.
|
|
void
|
populateTemplateParamsForInputAndEdit(Map<String, Object> velocityParams, Map<?, ?> descriptorArgs)
|
|
void
|
populateTemplateParamsForView(Map<String, Object> velocityParams, Map<?, ?> descriptorArgs)
|
|
[Expand]
Inherited Methods |
From class
com.atlassian.jira.plugin.workflow.AbstractWorkflowPluginFactory
|
Map<String, String>
|
createMap(Map<String, String> extractedParams)
|
|
Map<String, ?>
|
extractMultipleParams(Map<String, Object> params, Collection<String> paramNames)
|
|
String
|
extractSingleParam(Map<String, Object> conditionParams, String paramName)
|
|
Map<String, Object>
|
getVelocityParams(String resourceName, AbstractDescriptor descriptor)
Creates a Map of parameters for a view-specific velocity context given
the name of the resource (i.e.
|
|
abstract
void
|
getVelocityParamsForEdit(Map<String, Object> velocityParams, AbstractDescriptor descriptor)
Populates the given map with velocity parameters for 'edit-parameters' velocity template.
|
|
abstract
void
|
getVelocityParamsForInput(Map<String, Object> velocityParams)
Get velocity parameters for 'input-parameters' velocity template.
|
|
abstract
void
|
getVelocityParamsForView(Map<String, Object> velocityParams, AbstractDescriptor descriptor)
Populates the given map with velocity parameters for 'view' velocity template.
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
From interface
com.atlassian.jira.plugin.workflow.WorkflowPluginFactory
|
Protected Constructors
Public Methods
Protected Methods
protected
void
clearLegacyPermissionArgument
(Map<?, ?> descriptorArgs)
protected
abstract
Map<?, ?>
extractArgs
(AbstractDescriptor descriptor)
protected
void
getVelocityParamsForEdit
(Map<String, Object> 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
getVelocityParamsForInput
(Map<String, Object> velocityParams)
Get velocity parameters for 'input-parameters' velocity template.
Parameters
| velocityParams
| Map to populate. |
protected
void
getVelocityParamsForView
(Map<String, Object> 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. |
protected
void
populateTemplateParamsForInputAndEdit
(Map<String, Object> velocityParams, Map<?, ?> descriptorArgs)
protected
void
populateTemplateParamsForView
(Map<String, Object> velocityParams, Map<?, ?> descriptorArgs)