org.apache.oodt.cas.workflow.examples
Class NumIncrementTask
java.lang.Object
org.apache.oodt.cas.workflow.examples.NumIncrementTask
- All Implemented Interfaces:
- WorkflowTaskInstance
public class NumIncrementTask
- extends Object
- implements WorkflowTaskInstance
- Since:
- OODT-53
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.
.
- Version:
- $Revision$
- Author:
- mattmann
Method Summary |
void |
run(org.apache.oodt.cas.metadata.Metadata metadata,
WorkflowTaskConfiguration config)
Runs the Task with the specified metadata context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumIncrementTask
public NumIncrementTask()
run
public void run(org.apache.oodt.cas.metadata.Metadata metadata,
WorkflowTaskConfiguration config)
- Description copied from interface:
WorkflowTaskInstance
Runs the Task with the specified metadata context.
- Specified by:
run
in interface WorkflowTaskInstance
- Parameters:
metadata
- The TaskContext of metadata that is shared between the tasks.config
- The static configuration metadata for this task.
Copyright © 1999-2011 Apache OODT. All Rights Reserved.