com.amazonaws.services.simpleworkflow.flow
Class WorkflowClientBase

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.flow.WorkflowClientBase
All Implemented Interfaces:
WorkflowClient

public abstract class WorkflowClientBase
extends Object
implements WorkflowClient


Field Summary
protected  DynamicWorkflowClientImpl dynamicWorkflowClient
           
 
Constructor Summary
protected WorkflowClientBase(WorkflowExecution workflowExecution, WorkflowType workflowType, StartWorkflowOptions options, DataConverter dataConverter, GenericWorkflowClient genericClient)
           
 
Method Summary
 DataConverter getDataConverter()
           
 GenericWorkflowClient getGenericClient()
           
 Promise<String> getRunId()
           
 StartWorkflowOptions getSchedulingOptions()
           
 WorkflowExecution getWorkflowExecution()
           
 WorkflowType getWorkflowType()
           
 void requestCancelWorkflowExecution(Promise<?>... waitFor)
           
protected  void signalWorkflowExecution(String signalName, Object[] arguments, Promise<?>... waitFor)
           
protected
<T> Promise<T>
startWorkflowExecution(Object[] arguments, StartWorkflowOptions startOptionsOverride, Class<T> returnType, Promise<?>... waitFor)
           
protected
<T> Promise<T>
startWorkflowExecution(Promise<Object>[] arguments, StartWorkflowOptions startOptionsOverride, Class<T> returnType, Promise<?>... waitFor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dynamicWorkflowClient

protected final DynamicWorkflowClientImpl dynamicWorkflowClient
Constructor Detail

WorkflowClientBase

protected WorkflowClientBase(WorkflowExecution workflowExecution,
                             WorkflowType workflowType,
                             StartWorkflowOptions options,
                             DataConverter dataConverter,
                             GenericWorkflowClient genericClient)
Method Detail

getDataConverter

public DataConverter getDataConverter()
Specified by:
getDataConverter in interface WorkflowClient

getSchedulingOptions

public StartWorkflowOptions getSchedulingOptions()
Specified by:
getSchedulingOptions in interface WorkflowClient

getGenericClient

public GenericWorkflowClient getGenericClient()
Specified by:
getGenericClient in interface WorkflowClient

getRunId

public Promise<String> getRunId()
Specified by:
getRunId in interface WorkflowClient

getWorkflowExecution

public WorkflowExecution getWorkflowExecution()
Specified by:
getWorkflowExecution in interface WorkflowClient

getWorkflowType

public WorkflowType getWorkflowType()
Specified by:
getWorkflowType in interface WorkflowClient

requestCancelWorkflowExecution

public void requestCancelWorkflowExecution(Promise<?>... waitFor)
Specified by:
requestCancelWorkflowExecution in interface WorkflowClient

startWorkflowExecution

protected <T> Promise<T> startWorkflowExecution(Promise<Object>[] arguments,
                                                StartWorkflowOptions startOptionsOverride,
                                                Class<T> returnType,
                                                Promise<?>... waitFor)

startWorkflowExecution

protected <T> Promise<T> startWorkflowExecution(Object[] arguments,
                                                StartWorkflowOptions startOptionsOverride,
                                                Class<T> returnType,
                                                Promise<?>... waitFor)

signalWorkflowExecution

protected void signalWorkflowExecution(String signalName,
                                       Object[] arguments,
                                       Promise<?>... waitFor)


Copyright © 2016. All rights reserved.