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

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

public class TestWorkflowContext
extends Object
implements WorkflowContext


Constructor Summary
TestWorkflowContext()
           
 
Method Summary
 ContinueAsNewWorkflowExecutionParameters getContinueAsNewOnCompletion()
           
 WorkflowExecution getWorkflowExecution()
           
 WorkflowType getWorkflowType()
           
 boolean isCancelRequested()
           
 void setContinueAsNewOnCompletion(ContinueAsNewWorkflowExecutionParameters continueParameters)
           
 void setWorkflowExecution(WorkflowExecution workflowExecution)
           
 void setWorkflowType(WorkflowType workflowType)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestWorkflowContext

public TestWorkflowContext()
Method Detail

getWorkflowExecution

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

setWorkflowExecution

public void setWorkflowExecution(WorkflowExecution workflowExecution)

setWorkflowType

public void setWorkflowType(WorkflowType workflowType)

getWorkflowType

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

isCancelRequested

public boolean isCancelRequested()
Specified by:
isCancelRequested in interface WorkflowContext

getContinueAsNewOnCompletion

public ContinueAsNewWorkflowExecutionParameters getContinueAsNewOnCompletion()
Specified by:
getContinueAsNewOnCompletion in interface WorkflowContext

setContinueAsNewOnCompletion

public void setContinueAsNewOnCompletion(ContinueAsNewWorkflowExecutionParameters continueParameters)
Specified by:
setContinueAsNewOnCompletion in interface WorkflowContext


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