public class NumIncrementTask extends Object implements WorkflowTaskInstance
This task illustrates OODT-53 by taking a num Metadata
parameter and then incrementing it. Subsequent executions of this same
WorkflowTaskInstance within a Workflow should yield
incremented versions of the initially provided num parameter.
| Constructor and Description |
|---|
NumIncrementTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
run(Metadata metadata,
WorkflowTaskConfiguration config)
Runs the Task with the specified metadata context.
|
public void run(Metadata metadata, WorkflowTaskConfiguration config)
WorkflowTaskInstanceRuns the Task with the specified metadata context.
run in interface WorkflowTaskInstancemetadata - The TaskContext of metadata that is shared between the tasks.config - The static configuration metadata for this task.Copyright © 1999–2017 Apache OODT. All rights reserved.