Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright 2012-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
   *
   * Licensed under the Apache License, Version 2.0 (the "License").
   * You may not use this file except in compliance with the License.
   * A copy of the License is located at
   *
   *  http://aws.amazon.com/apache2.0
   *
  * or in the "license" file accompanying this file. This file is distributed
  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
  * express or implied. See the License for the specific language governing
  * permissions and limitations under the License.
  */
 package com.amazonaws.services.simpleworkflow.flow;
 
 import java.util.Map;
 
 
 public interface DynamicClient {

  
    
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
 
     public Promise<Map<StringObject>> scheduleActivityTask(final String activityfinal String version
             final Promise<Object[]> 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:
A Value which contains a Map of results returned by the activity
 
     public abstract Promise<Map<StringObject>> scheduleActivityTask(String activityString versionObject[] input);
    
    
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:
An object which can be used to cancel the activity or retrieve the Value containing the result for the activity
 
     public abstract Promise<StringscheduleActivityTask(ExecuteActivityParameters parameters);

    
Used to dynamically schedule an activity for execution

Parameters:
activity Name of activity
input A map of all input parameters to that activity
converter Data converter to use for serialization of input parameters and deserialization of output result
Returns:
A Value which contains a Map of results returned by the activity
 
     public abstract Promise<Map<StringObject>> scheduleActivityTask(String activityString version
             Object[] inputDataConverter converter);
     
     public abstract Promise<StringstartChildWorkflow(StartChildWorkflowExecutionParameters parameters);
     
     public abstract Promise<Map<StringObject>> startChildWorkflow(String workflowString versionObject[] input);
     
     public abstract Promise<Map<StringObject>> startChildWorkflow(String workflowString version
             Object[] inputDataConverter converter);
     
     public abstract Promise<Map<StringObject>> startChildWorkflow(final String workflowfinal String version
             final Promise<Object[]> input);
 
     public abstract Promise<VoidsignalWorkflowExecution(SignalExternalWorkflowParameters parameters);

    
Start a new generation of the workflow instance.

Parameters:
input Map containing input parameters to the workflow
 
    public abstract void continueAsNewOnCompletion(Object[] input);
    
    public abstract void continueAsNewOnCompletion(ContinueAsNewWorkflowExecutionParameters parameters);
    
New to GrepCode? Check out our FAQ X