Did this page help you?

   Yes   No   Tell us about it...

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
 ChildPolicy getChildPolicy()
           
 ContinueAsNewWorkflowExecutionParameters getContinueAsNewOnCompletion()
           
 String getContinuedExecutionRunId()
           
 long getExecutionStartToCloseTimeout()
           
 WorkflowExecution getParentWorkflowExecution()
           
 List<String> getTagList()
           
 String getTaskList()
           
 WorkflowExecution getWorkflowExecution()
           
 WorkflowType getWorkflowType()
           
 boolean isCancelRequested()
           
 void setChildPolicy(ChildPolicy childPolicy)
           
 void setContinueAsNewOnCompletion(ContinueAsNewWorkflowExecutionParameters continueAsNewOnCompletion)
           
 void setContinuedExecutionRunId(String continuedExecutionRunId)
           
 void setExecutionStartToCloseTimeout(long executionStartToCloseTimeout)
           
 void setParentWorkflowExecution(WorkflowExecution parentWorkflowExecution)
           
 void setRootTryCatch(TryCatchFinally rootTryCatch)
           
 void setTagList(List<String> tagList)
           
 void setTaskList(String taskList)
           
 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)

getWorkflowType

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

setWorkflowType

public void setWorkflowType(WorkflowType workflowType)

getContinueAsNewOnCompletion

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

setContinueAsNewOnCompletion

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

getParentWorkflowExecution

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

setParentWorkflowExecution

public void setParentWorkflowExecution(WorkflowExecution parentWorkflowExecution)

getTagList

public List<String> getTagList()
Specified by:
getTagList in interface WorkflowContext

setTagList

public void setTagList(List<String> tagList)

getChildPolicy

public ChildPolicy getChildPolicy()
Specified by:
getChildPolicy in interface WorkflowContext

setChildPolicy

public void setChildPolicy(ChildPolicy childPolicy)

getContinuedExecutionRunId

public String getContinuedExecutionRunId()
Specified by:
getContinuedExecutionRunId in interface WorkflowContext

setContinuedExecutionRunId

public void setContinuedExecutionRunId(String continuedExecutionRunId)

getExecutionStartToCloseTimeout

public long getExecutionStartToCloseTimeout()
Specified by:
getExecutionStartToCloseTimeout in interface WorkflowContext

setExecutionStartToCloseTimeout

public void setExecutionStartToCloseTimeout(long executionStartToCloseTimeout)

getTaskList

public String getTaskList()
Specified by:
getTaskList in interface WorkflowContext

setTaskList

public void setTaskList(String taskList)

isCancelRequested

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

setRootTryCatch

public void setRootTryCatch(TryCatchFinally rootTryCatch)


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