クラス ContentInvoker<R extends ContentEntity>
java.lang.Object
org.thinkit.framework.content.ContentInvoker<R>
- すべての実装されたインタフェース:
Invokable<R>
public final class ContentInvoker<R extends ContentEntity> extends Object implements Invokable<R>
The content-initiating class that makes a secure call to the concrete content
class that implements the
Content interface.- 導入されたバージョン:
- 1.0.0
-
メソッドの概要
修飾子とタイプ メソッド 説明 Rinvoke()Invokes the processing of a concrete class that implements theInvokable.invoke()method.static <R extends ContentEntity>
ContentInvoker<R>of(@NonNull Content<R> content)Returns the new instance of theContentInvokerclass based on theContentobject passed as an argument.
-
メソッドの詳細
-
of
Returns the new instance of theContentInvokerclass based on theContentobject passed as an argument.- 型パラメータ:
R- Data types to return- パラメータ:
content- The content- 戻り値:
- the new instance of the
ContentInvokerclass based on theContentobject passed as an argument - 例外:
NullPointerException- Ifnullis passed as an argument
-
invoke
インタフェースからコピーされた説明:InvokableInvokes the processing of a concrete class that implements theInvokable.invoke()method.This method returns the value of the generic type defined when the
Invokableinterface was declared.- 定義:
invokeインタフェース内Invokable<R extends ContentEntity>- 戻り値:
- The value of the generic type defined when declaring the
Invokableinterface
-