public class TaskRequestFactory extends Object implements TaskRequestProcessorMetKeys
A Jsp utility that processes a PolicyAwareWorkflowTask
that is given
in the form of a HttpServletRequestWrapper#getParameterMap().
REQ_MET_FIELD_TAGBASE, REQ_MET_FIELDS_COUNT, TASK_CLASS_NAME, TASK_CONDITION_IDS, TASK_CONFIG_FIELD_COUNT, TASK_CONFIG_PROPNAME_BASE, TASK_CONFIG_PROPVAL_BASE, TASK_NAME, TASK_POLICY_DIR_PATH, UPDATE_TASK_ID
Modifier and Type | Method and Description |
---|---|
static PolicyAwareWorkflowTask |
getTask(Map paramMap)
Processes a given
PolicyAwareWorkflowTask and unmarshalls it out
of the given Map . |
static void |
merge(PolicyAwareWorkflowTask newTask,
PolicyAwareWorkflowTask orig)
Merges the
newTask PolicyAwareWorkflowTask into
the orig PolicyAwareWorkflowTask , taking care not
to overwrite the EnvSavingConfiguration , and only its
WorkflowTaskConfiguration.getProperties() . |
public static PolicyAwareWorkflowTask getTask(Map paramMap)
PolicyAwareWorkflowTask
and unmarshalls it out
of the given Map
.paramMap
- A parameter Map
, generated by a call to
HttpServletRequestWrapper#getParameterMap()
.PolicyAwareWorkflowTask
.public static void merge(PolicyAwareWorkflowTask newTask, PolicyAwareWorkflowTask orig)
newTask
PolicyAwareWorkflowTask
into
the orig
PolicyAwareWorkflowTask
, taking care not
to overwrite the EnvSavingConfiguration
, and only its
WorkflowTaskConfiguration.getProperties()
.newTask
- The new PolicyAwareWorkflowTask
, whose values will
overwrite those of orig
.orig
- The destination for the new values provided by
newTask
.Copyright © 1999–2017 Apache OODT. All rights reserved.