インタフェース Invokable<R>

既知の実装クラスのリスト:
ContentInvoker, RuleInvoker

public interface Invokable<R>
The interface that abstracts the invokable objects.

When implementing the Invokable interface, please specify the type of the value returned by the invoke() method as a generic type.

 If the invokable object returns the String result:
 
 public class TestInvoker implements Invokable<String> {
      * // do something
 }
 
 
導入されたバージョン:
1.0.0
  • メソッドの概要

    修飾子とタイプ メソッド 説明
    R invoke()
    Invokes the processing of a concrete class that implements the invoke() method.
  • メソッドの詳細

    • invoke

      R invoke()
      Invokes the processing of a concrete class that implements the invoke() method.

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

      戻り値:
      The value of the generic type defined when declaring the Invokable interface