Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.flow.test
Class TestPOJOActivityImplementationGenericActivityClient

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.flow.test.TestPOJOActivityImplementationGenericActivityClient
All Implemented Interfaces:
GenericActivityClient

public class TestPOJOActivityImplementationGenericActivityClient
extends Object
implements GenericActivityClient


Constructor Summary
TestPOJOActivityImplementationGenericActivityClient()
           
 
Method Summary
 void addWorker(TestPOJOActivityImplementationWorker worker)
           
 Promise<String> scheduleActivityTask(ExecuteActivityParameters parameters)
          Used to dynamically schedule an activity for execution
 Promise<String> scheduleActivityTask(String activity, String version, Promise<String> input)
          Used to dynamically schedule an activity using its name
 Promise<String> scheduleActivityTask(String activity, String version, String input)
          Used to dynamically schedule an activity for execution
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestPOJOActivityImplementationGenericActivityClient

public TestPOJOActivityImplementationGenericActivityClient()
Method Detail

addWorker

public void addWorker(TestPOJOActivityImplementationWorker worker)

scheduleActivityTask

public Promise<String> scheduleActivityTask(ExecuteActivityParameters parameters)
Description copied from interface: GenericActivityClient
Used to dynamically schedule an activity for execution

Specified by:
scheduleActivityTask in interface GenericActivityClient
Parameters:
parameters - An object which encapsulates all the information required to schedule an activity for execution
Returns:
Promise to the result returned by the activity

scheduleActivityTask

public Promise<String> scheduleActivityTask(String activity,
                                            String version,
                                            String input)
Description copied from interface: GenericActivityClient
Used to dynamically schedule an activity for execution

Specified by:
scheduleActivityTask in interface GenericActivityClient
Parameters:
activity - Name of activity
input - A map of all input parameters to that activity
Returns:
Promise to a result returned by the activity

scheduleActivityTask

public Promise<String> scheduleActivityTask(String activity,
                                            String version,
                                            Promise<String> input)
Description copied from interface: GenericActivityClient
Used to dynamically schedule an activity using its name

Specified by:
scheduleActivityTask in interface GenericActivityClient
Parameters:
activity - name of activity to schedule
input - a Value containing a map of all input parameters to that activity
Returns:
a Value which contains a Map of results returned by the activity


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.