com.amazonaws.services.simpleworkflow.flow.worker

## クラス CurrentDecisionContext

- java.lang.Object
- - com.amazonaws.services.simpleworkflow.flow.worker.CurrentDecisionContext

-     public abstract class CurrentDecisionContext
      extends java.lang.Object

  Holds DecisionContext for currently executing decision task. Do not use this class directly. Instead use `DecisionContextProviderImpl`.

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `CurrentDecisionContext()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `static DecisionContext` | `get()` retrieves the current DecisionContext for a particular thread
    `static boolean` | `isSet()`
    `static void` | `set(DecisionContext context)`
    `static void` | `unset()`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### CurrentDecisionContext

          public CurrentDecisionContext()

  - ### メソッドの詳細

    - #### get

          public static DecisionContext get()

      retrieves the current DecisionContext for a particular thread
      戻り値:
        current decider context being used for the decision
      例外:
        `java.lang.IllegalStateException` - if this method is called outside the scope of workflow definition.

    - #### isSet

          public static boolean isSet()

      戻り値:
        if context is set which means that code is executed as part of the decision.

    - #### set

          public static void set(DecisionContext context)

    - #### unset

          public static void unset()