クラス RecordedInvocation.Builder

java.lang.ObjectSE
org.springframework.aot.agent.RecordedInvocation.Builder
含まれているクラス:
RecordedInvocation

public static class RecordedInvocation.Builder extends ObjectSE
RecordedInvocation のビルダー。
  • メソッドの詳細

    • onInstance

      public RecordedInvocation.Builder onInstance(ObjectSE instance)
      この呼び出しに使用される this オブジェクトインスタンスを設定します。
      パラメーター:
      instance - 現在のオブジェクトインスタンス、静的呼び出しの場合は null 
      戻り値:
      this、メソッドの連鎖を容易にする
    • withArgument

      public RecordedInvocation.Builder withArgument(@Nullable ObjectSE argument)
      指定されたオブジェクトを一意の引数として使用します。
      パラメーター:
      argument - 呼び出し引数
      戻り値:
      this、メソッドの連鎖を容易にする
    • withArguments

      public RecordedInvocation.Builder withArguments(@Nullable ObjectSE... arguments)
      指定されたオブジェクトを呼び出し引数として使用します。
      パラメーター:
      arguments - 呼び出し引数
      戻り値:
      this、メソッドの連鎖を容易にする
    • returnValue

      public RecordedInvocation.Builder returnValue(@Nullable ObjectSE returnValue)
      指定されたオブジェクトを呼び出しの戻り値として使用します。
      パラメーター:
      returnValue - 戻り値
      戻り値:
      this、メソッドの連鎖を容易にする
    • build

      public RecordedInvocation build()
      このビルダーの状態に基づいて RecordedInvocation を作成します。
      戻り値:
      記録された呼び出し