Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.flow.generic
Interface GenericActivityClient

All Known Implementing Classes:
TestGenericActivityClient, TestPOJOActivityImplementationGenericActivityClient

public interface GenericActivityClient


Method Summary
 Promise<java.lang.String> scheduleActivityTask(ExecuteActivityParameters parameters)
          Used to dynamically schedule an activity for execution
 Promise<java.lang.String> scheduleActivityTask(java.lang.String activity, java.lang.String version, Promise<java.lang.String> input)
          Used to dynamically schedule an activity using its name
 Promise<java.lang.String> scheduleActivityTask(java.lang.String activity, java.lang.String version, java.lang.String input)
          Used to dynamically schedule an activity for execution
 

Method Detail

scheduleActivityTask

Promise<java.lang.String> scheduleActivityTask(ExecuteActivityParameters parameters)
Used to dynamically schedule an activity for execution

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

Promise<java.lang.String> scheduleActivityTask(java.lang.String activity,
                                               java.lang.String version,
                                               java.lang.String input)
Used to dynamically schedule an activity for execution

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

Promise<java.lang.String> scheduleActivityTask(java.lang.String activity,
                                               java.lang.String version,
                                               Promise<java.lang.String> input)
Used to dynamically schedule an activity using its name

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.