public class TestPOJOActivityImplementationGenericActivityClient extends Object implements GenericActivityClient
Constructor and Description |
---|
TestPOJOActivityImplementationGenericActivityClient() |
Modifier and Type | Method and Description |
---|---|
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
|
public TestPOJOActivityImplementationGenericActivityClient()
public void addWorker(TestPOJOActivityImplementationWorker worker)
public Promise<String> scheduleActivityTask(ExecuteActivityParameters parameters)
GenericActivityClient
scheduleActivityTask
in interface GenericActivityClient
parameters
- An object which encapsulates all the information required to
schedule an activity for executionpublic Promise<String> scheduleActivityTask(String activity, String version, String input)
GenericActivityClient
scheduleActivityTask
in interface GenericActivityClient
activity
- Name of activityinput
- A map of all input parameters to that activitypublic Promise<String> scheduleActivityTask(String activity, String version, Promise<String> input)
GenericActivityClient
scheduleActivityTask
in interface GenericActivityClient
activity
- name of activity to scheduleinput
- a Value containing a map of all input parameters to that
activityCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.