Summary
Protected Methods |
void
|
getVelocityParamsForEdit(Map velocityParams, AbstractDescriptor descriptor)
Populates the given map with velocity parameters for 'edit-parameters' velocity template.
|
void
|
getVelocityParamsForInput(Map velocityParams)
Get velocity parameters for 'input-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.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
|
Public Constructors
public
WorkflowSubTaskBlockingConditionFactoryImpl
(ConstantsManager constantsManager)
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
getVelocityParamsForInput
(Map velocityParams)
Get velocity parameters for 'input-parameters' velocity template.
Parameters
velocityParams
| Map to populate. |
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. |