public class MailTask extends Object implements WorkflowTaskInstance
WorkflowTaskInstance
responsible for sending an email
to a recipient notifying them of ingest.Constructor and Description |
---|
MailTask() |
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) throws WorkflowTaskInstanceException
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.WorkflowTaskInstanceException
Copyright © 1999–2017 Apache OODT. All rights reserved.