Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.flow.core
Interface ExternalTaskCancellationHandler


public interface ExternalTaskCancellationHandler


Method Summary
 void handleCancellation(java.lang.Throwable cause)
          Called when cancellation of the external task is requested.
 

Method Detail

handleCancellation

void handleCancellation(java.lang.Throwable cause)
Called when cancellation of the external task is requested. Use ExternalTaskCompletionHandle.complete() to report task successful completion or cancellation. Use ExternalTaskCompletionHandle.fail(Throwable) to report task completion or cancellation failure.

Parameters:
cause - the reason for the cancellation. May be null.


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