org.apache.oodt.cas.workflow.examples
Class BranchRedirector

java.lang.Object
  extended by org.apache.oodt.cas.workflow.examples.BranchRedirector
All Implemented Interfaces:
WorkflowTaskInstance

public class BranchRedirector
extends Object
implements WorkflowTaskInstance

Redirects from an existing WorkflowInstance by sending a specified event specified by the task configuration parameter named eventName.

Version:
$Revision$
Author:
mattmann

Constructor Summary
BranchRedirector()
           
 
Method Summary
 void run(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
 

Constructor Detail

BranchRedirector

public BranchRedirector()
Method Detail

run

public void run(Metadata metadata,
                WorkflowTaskConfiguration config)
         throws WorkflowTaskInstanceException
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.
Throws:
WorkflowTaskInstanceException


Copyright © 1999-2013
Apache OODT. All Rights Reserved.