クラス 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
-
メソッドの概要
修飾子とタイプ メソッド 説明 R
invoke()
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 theContentInvoker
class based on theContent
object passed as an argument.
-
メソッドの詳細
-
of
Returns the new instance of theContentInvoker
class based on theContent
object passed as an argument.- 型パラメータ:
R
- Data types to return- パラメータ:
content
- The content- 戻り値:
- the new instance of the
ContentInvoker
class based on theContent
object passed 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.- 定義:
invoke
インタフェース内Invokable<R extends ContentEntity>
- 戻り値:
- The value of the generic type defined when declaring the
Invokable
interface
-