com.amazonaws.services.simpleworkflow.flow.core

## インタフェース ExternalTaskCancellationHandler

-     public interface ExternalTaskCancellationHandler

- - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `void` | `handleCancellation(java.lang.Throwable cause)` Called when cancellation of the external task is requested.

- - ### メソッドの詳細

    - #### 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.
      パラメータ:
        `cause` - the reason for the cancellation. May be `null`.