public class LongTask extends Object implements WorkflowTaskInstance
An example task to simulate actual work that should last a specified number of seconds.
| Modifier and Type | Field and Description |
|---|---|
static long |
LONG |
| 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 static final long LONG
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.