public class RandomStatusUpdateTask extends Object implements WorkflowTaskInstance
XmlRpcWorkflowManager.updateWorkflowInstance(java.util.Hashtable)
allows a user to change the status of a given WorkflowInstance
programmatically.Modifier and Type | Field and Description |
---|---|
static long |
MILLIS |
Constructor and Description |
---|
RandomStatusUpdateTask() |
Modifier and Type | Method and Description |
---|---|
void |
run(Metadata metadata,
WorkflowTaskConfiguration config)
Runs the Task with the specified metadata context.
|
public static final long MILLIS
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–2017 Apache OODT. All rights reserved.