クラス RuleInvoker<R>

java.lang.Object
org.thinkit.framework.content.rule.RuleInvoker<R>
すべての実装されたインタフェース:
Invokable<R>

@Deprecated
public final class RuleInvoker<R>
extends Object
implements Invokable<R>
推奨されていません。
This class was provided as a layer to process values retrieved from content, but it was deprecated due to its limited use and redundancy.
A rule invoking class that makes a safe call to the concrete rule class that implements the Rule interface.
導入されたバージョン:
1.0.0
  • メソッドの概要

    修飾子とタイプ メソッド 説明
    R invoke()
    推奨されていません。
    Invokes the processing of a concrete class that implements the Invokable.invoke() method.
    static <R> RuleInvoker<R> of​(@NonNull Rule<R> rule)
    推奨されていません。
    Returns the new instance of the RuleInvoker class based on the Rule object specified as an argument.

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

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • メソッドの詳細

    • of

      public static <R> RuleInvoker<R> of​(@NonNull @NonNull Rule<R> rule)
      推奨されていません。
      Returns the new instance of the RuleInvoker class based on the Rule object specified as an argument.
      型パラメータ:
      R - Data types to return
      パラメータ:
      rule - The content rule
      戻り値:
      The new instance of the RuleInvoker class based on the Rule object specified as an argument
      例外:
      NullPointerException - If null is passed as an argument
    • invoke

      public R invoke()
      推奨されていません。
      インタフェースからコピーされた説明: Invokable
      Invokes the processing of a concrete class that implements the Invokable.invoke() method.

      This method returns the value of the generic type defined when the Invokable interface was declared.

      定義:
      invoke インタフェース内 Invokable<R>
      戻り値:
      The value of the generic type defined when declaring the Invokable interface