Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.flow.worker
Class CompleteWorkflowStateMachine

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.flow.worker.CompleteWorkflowStateMachine

public class CompleteWorkflowStateMachine
extends Object


Constructor Summary
CompleteWorkflowStateMachine(com.amazonaws.services.simpleworkflow.flow.worker.DecisionId id, Decision decision)
           
 
Method Summary
 void cancel(Runnable immediateCancellationCallback)
           
 Decision getDecision()
           
 com.amazonaws.services.simpleworkflow.flow.worker.DecisionId getId()
           
 com.amazonaws.services.simpleworkflow.flow.worker.DecisionState getState()
           
 void handleCancellationEvent()
           
 void handleCancellationFailureEvent(HistoryEvent event)
           
 void handleCancellationInitiatedEvent()
           
 void handleCompletionEvent()
           
 void handleDecisionTaskStartedEvent()
           
 void handleInitiatedEvent(HistoryEvent event)
           
 void handleInitiationFailedEvent(HistoryEvent event)
           
 void handleStartedEvent(HistoryEvent event)
           
 boolean isDone()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompleteWorkflowStateMachine

public CompleteWorkflowStateMachine(com.amazonaws.services.simpleworkflow.flow.worker.DecisionId id,
                                    Decision decision)
Method Detail

getId

public com.amazonaws.services.simpleworkflow.flow.worker.DecisionId getId()

getDecision

public Decision getDecision()

handleInitiationFailedEvent

public void handleInitiationFailedEvent(HistoryEvent event)

cancel

public void cancel(Runnable immediateCancellationCallback)

handleStartedEvent

public void handleStartedEvent(HistoryEvent event)

handleCancellationEvent

public void handleCancellationEvent()

handleCancellationFailureEvent

public void handleCancellationFailureEvent(HistoryEvent event)

handleCompletionEvent

public void handleCompletionEvent()

handleInitiatedEvent

public void handleInitiatedEvent(HistoryEvent event)

getState

public com.amazonaws.services.simpleworkflow.flow.worker.DecisionState getState()

handleCancellationInitiatedEvent

public void handleCancellationInitiatedEvent()

isDone

public boolean isDone()

handleDecisionTaskStartedEvent

public void handleDecisionTaskStartedEvent()

toString

public String toString()
Overrides:
toString in class Object


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