Class ChainedContext.Builder
java.lang.Object
cloud.opencode.base.expression.context.ChainedContext.Builder
- Enclosing class:
ChainedContext
Builder for ChainedContext
ChainedContext 构建器
- Since:
- JDK 25, opencode-base-expression V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder(EvaluationContext parent) Create builder with parent context 使用父上下文创建构建器 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the context 构建上下文rootObject(Object root) Set root object 设置根对象Set a variable 设置变量
-
Constructor Details
-
Builder
Create builder with parent context 使用父上下文创建构建器- Parameters:
parent- the parent context | 父上下文
-
-
Method Details
-
rootObject
Set root object 设置根对象- Parameters:
root- the root object | 根对象- Returns:
- this builder | 此构建器
-
variable
Set a variable 设置变量- Parameters:
name- the variable name | 变量名value- the variable value | 变量值- Returns:
- this builder | 此构建器
-
build
-