クラス 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 theInvokable.invoke()
method.static <R> RuleInvoker<R>
of(@NonNull Rule<R> rule)
推奨されていません。Returns the new instance of theRuleInvoker
class based on theRule
object specified as an argument.
-
メソッドの詳細
-
of
推奨されていません。Returns the new instance of theRuleInvoker
class based on theRule
object specified as an argument.- 型パラメータ:
R
- Data types to return- パラメータ:
rule
- The content rule- 戻り値:
- The new instance of the
RuleInvoker
class based on theRule
object specified as an argument - 例外:
NullPointerException
- Ifnull
is passed as an argument
-
invoke
推奨されていません。インタフェースからコピーされた説明:Invokable
Invokes the processing of a concrete class that implements theInvokable.invoke()
method.This method returns the value of the generic type defined when the
Invokable
interface was declared.
-