クラス 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
  • メソッドの詳細

    • of

      public static <R extends ContentEntity> ContentInvoker<R> of​(@NonNull @NonNull Content<R> content)
      Returns the new instance of the ContentInvoker class based on the Content object passed as an argument.
      型パラメータ:
      R - Data types to return
      パラメータ:
      content - The content
      戻り値:
      the new instance of the ContentInvoker class based on the Content object passed 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 extends ContentEntity>
      戻り値:
      The value of the generic type defined when declaring the Invokable interface