public class LongTask extends Object implements WorkflowTaskInstance
An example task to simulate actual work that should last a specified number of seconds.
Constructor and Description |
---|
LongTask() |
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)
WorkflowTaskInstance
Runs the Task with the specified metadata context.
run
in interface WorkflowTaskInstance
metadata
- The TaskContext of metadata that is shared between the tasks.config
- The static configuration metadata for this task.Copyright © 1999-2015 Apache OODT. All Rights Reserved.