类 InvocationResult.Builder
java.lang.Object
com.github.codeboyzhou.mcp.declarative.reflect.InvocationResult.Builder
- 封闭类:
- InvocationResult
This class implements the builder pattern for creating a new instance of
InvocationResult.- 作者:
- codeboyzhou
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()Builds a new instance ofInvocationResultwith the configured values.Sets the exception that occurred during the invocation.Sets the result of the invocation.
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
result
Sets the result of the invocation.- 参数:
result- the result of the invocation- 返回:
- the builder instance
-
exception
Sets the exception that occurred during the invocation.- 参数:
exception- the exception that occurred during the invocation- 返回:
- the builder instance
-
build
Builds a new instance ofInvocationResultwith the configured values.- 返回:
- a new instance of
InvocationResult
-