From 927c1b880bd280aebf42dd7d7e4c164437b477e2 Mon Sep 17 00:00:00 2001
From: lorne <1991wangliang@gmail.com>
Date: Tue, 26 May 2026 20:30:19 +0800
Subject: [PATCH 1/2] update version
---
.../example-app-cmd-domain/pom.xml | 2 +-
.../example-app/example-app-cmd-meta/pom.xml | 2 +-
example/example-app/example-app-query/pom.xml | 2 +-
example/example-app/pom.xml | 2 +-
.../example-domain-leave/pom.xml | 2 +-
.../example-domain-user/pom.xml | 2 +-
example/example-domain/pom.xml | 2 +-
.../example-infra/example-infra-flow/pom.xml | 2 +-
.../example-infra/example-infra-jpa/pom.xml | 2 +-
.../example-infra-security/pom.xml | 2 +-
example/example-infra/pom.xml | 2 +-
example/example-interface/pom.xml | 2 +-
example/example-server/pom.xml | 2 +-
example/pom.xml | 2 +-
pom.xml | 2 +-
springboot-starter-data-authorization/pom.xml | 2 +-
springboot-starter-data-fast/pom.xml | 2 +-
springboot-starter-flow/pom.xml | 2 +-
springboot-starter-security/pom.xml | 2 +-
springboot-starter/pom.xml | 2 +-
.../framework/script/meta/GroovyMetadata.java | 19 +++++++++++++++----
.../service/GroovyMetadataParserService.java | 1 +
22 files changed, 36 insertions(+), 24 deletions(-)
diff --git a/example/example-app/example-app-cmd-domain/pom.xml b/example/example-app/example-app-cmd-domain/pom.xml
index af3d455a..75fff43b 100644
--- a/example/example-app/example-app-cmd-domain/pom.xml
+++ b/example/example-app/example-app-cmd-domain/pom.xml
@@ -6,7 +6,7 @@
com.codingapi.springboot
example-app
- 3.4.47
+ 3.4.48
../pom.xml
diff --git a/example/example-app/example-app-cmd-meta/pom.xml b/example/example-app/example-app-cmd-meta/pom.xml
index cc0d0624..a515f0cf 100644
--- a/example/example-app/example-app-cmd-meta/pom.xml
+++ b/example/example-app/example-app-cmd-meta/pom.xml
@@ -6,7 +6,7 @@
com.codingapi.springboot
example-app
- 3.4.47
+ 3.4.48
../pom.xml
diff --git a/example/example-app/example-app-query/pom.xml b/example/example-app/example-app-query/pom.xml
index 34530fd9..ffdb4fe7 100644
--- a/example/example-app/example-app-query/pom.xml
+++ b/example/example-app/example-app-query/pom.xml
@@ -6,7 +6,7 @@
com.codingapi.springboot
example-app
- 3.4.47
+ 3.4.48
../pom.xml
diff --git a/example/example-app/pom.xml b/example/example-app/pom.xml
index f24897f0..035e9e22 100644
--- a/example/example-app/pom.xml
+++ b/example/example-app/pom.xml
@@ -6,7 +6,7 @@
com.codingapi.springboot
springboot-example
- 3.4.47
+ 3.4.48
../pom.xml
pom
diff --git a/example/example-domain/example-domain-leave/pom.xml b/example/example-domain/example-domain-leave/pom.xml
index e99aac01..9af05e45 100644
--- a/example/example-domain/example-domain-leave/pom.xml
+++ b/example/example-domain/example-domain-leave/pom.xml
@@ -6,7 +6,7 @@
com.codingapi.springboot
example-domain
- 3.4.47
+ 3.4.48
../pom.xml
diff --git a/example/example-domain/example-domain-user/pom.xml b/example/example-domain/example-domain-user/pom.xml
index ebd88998..0512625d 100644
--- a/example/example-domain/example-domain-user/pom.xml
+++ b/example/example-domain/example-domain-user/pom.xml
@@ -6,7 +6,7 @@
com.codingapi.springboot
example-domain
- 3.4.47
+ 3.4.48
../pom.xml
diff --git a/example/example-domain/pom.xml b/example/example-domain/pom.xml
index 6d814889..c90a33f5 100644
--- a/example/example-domain/pom.xml
+++ b/example/example-domain/pom.xml
@@ -5,7 +5,7 @@
com.codingapi.springboot
springboot-example
- 3.4.47
+ 3.4.48
../pom.xml
4.0.0
diff --git a/example/example-infra/example-infra-flow/pom.xml b/example/example-infra/example-infra-flow/pom.xml
index 3742b67c..6efbc6d2 100644
--- a/example/example-infra/example-infra-flow/pom.xml
+++ b/example/example-infra/example-infra-flow/pom.xml
@@ -5,7 +5,7 @@
com.codingapi.springboot
example-infra
- 3.4.47
+ 3.4.48
../pom.xml
diff --git a/example/example-infra/example-infra-jpa/pom.xml b/example/example-infra/example-infra-jpa/pom.xml
index 5c3ff943..b4472afb 100644
--- a/example/example-infra/example-infra-jpa/pom.xml
+++ b/example/example-infra/example-infra-jpa/pom.xml
@@ -5,7 +5,7 @@
com.codingapi.springboot
example-infra
- 3.4.47
+ 3.4.48
../pom.xml
diff --git a/example/example-infra/example-infra-security/pom.xml b/example/example-infra/example-infra-security/pom.xml
index e8ac1247..8e915a7a 100644
--- a/example/example-infra/example-infra-security/pom.xml
+++ b/example/example-infra/example-infra-security/pom.xml
@@ -6,7 +6,7 @@
com.codingapi.springboot
example-infra
- 3.4.47
+ 3.4.48
../pom.xml
diff --git a/example/example-infra/pom.xml b/example/example-infra/pom.xml
index c9d64575..f5453a6a 100644
--- a/example/example-infra/pom.xml
+++ b/example/example-infra/pom.xml
@@ -6,7 +6,7 @@
com.codingapi.springboot
springboot-example
- 3.4.47
+ 3.4.48
../pom.xml
pom
diff --git a/example/example-interface/pom.xml b/example/example-interface/pom.xml
index 78a41f86..77ec5c01 100644
--- a/example/example-interface/pom.xml
+++ b/example/example-interface/pom.xml
@@ -6,7 +6,7 @@
com.codingapi.springboot
springboot-example
- 3.4.47
+ 3.4.48
example-interface
diff --git a/example/example-server/pom.xml b/example/example-server/pom.xml
index f008dda7..54e4c611 100644
--- a/example/example-server/pom.xml
+++ b/example/example-server/pom.xml
@@ -5,7 +5,7 @@
springboot-example
com.codingapi.springboot
- 3.4.47
+ 3.4.48
4.0.0
diff --git a/example/pom.xml b/example/pom.xml
index a524943b..fcea58ce 100644
--- a/example/pom.xml
+++ b/example/pom.xml
@@ -19,7 +19,7 @@
springboot-example
- 3.4.47
+ 3.4.48
springboot-example
springboot-example project for Spring Boot
diff --git a/pom.xml b/pom.xml
index c5fe02b7..e2b98601 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@
com.codingapi.springboot
springboot-parent
- 3.4.47
+ 3.4.48
https://github.com/codingapi/springboot-framewrok
springboot-parent
diff --git a/springboot-starter-data-authorization/pom.xml b/springboot-starter-data-authorization/pom.xml
index 0f08d6c4..70a75692 100644
--- a/springboot-starter-data-authorization/pom.xml
+++ b/springboot-starter-data-authorization/pom.xml
@@ -6,7 +6,7 @@
com.codingapi.springboot
springboot-parent
- 3.4.47
+ 3.4.48
springboot-starter-data-authorization
diff --git a/springboot-starter-data-fast/pom.xml b/springboot-starter-data-fast/pom.xml
index c4721acb..197caa7c 100644
--- a/springboot-starter-data-fast/pom.xml
+++ b/springboot-starter-data-fast/pom.xml
@@ -5,7 +5,7 @@
springboot-parent
com.codingapi.springboot
- 3.4.47
+ 3.4.48
4.0.0
diff --git a/springboot-starter-flow/pom.xml b/springboot-starter-flow/pom.xml
index 3a8035cb..048fef9f 100644
--- a/springboot-starter-flow/pom.xml
+++ b/springboot-starter-flow/pom.xml
@@ -6,7 +6,7 @@
springboot-parent
com.codingapi.springboot
- 3.4.47
+ 3.4.48
springboot-starter-flow
diff --git a/springboot-starter-security/pom.xml b/springboot-starter-security/pom.xml
index 4c9b694f..daa5316a 100644
--- a/springboot-starter-security/pom.xml
+++ b/springboot-starter-security/pom.xml
@@ -6,7 +6,7 @@
springboot-parent
com.codingapi.springboot
- 3.4.47
+ 3.4.48
springboot-starter-security
diff --git a/springboot-starter/pom.xml b/springboot-starter/pom.xml
index 6508635d..70643571 100644
--- a/springboot-starter/pom.xml
+++ b/springboot-starter/pom.xml
@@ -5,7 +5,7 @@
com.codingapi.springboot
springboot-parent
- 3.4.47
+ 3.4.48
springboot-starter
diff --git a/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/meta/GroovyMetadata.java b/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/meta/GroovyMetadata.java
index b4a69550..8fb9f9f6 100644
--- a/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/meta/GroovyMetadata.java
+++ b/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/meta/GroovyMetadata.java
@@ -27,6 +27,12 @@ public class GroovyMetadata {
*/
private final List binds;
+ /**
+ * 程序主函数名称
+ */
+ @Setter
+ private String mainMethod;
+
/**
* 返回类型
*/
@@ -47,6 +53,7 @@ public GroovyMetadata() {
/**
* 通过class构建 脚本类型数据
+ *
* @param clazz class类型
*/
public void buildType(Class> clazz) {
@@ -57,7 +64,7 @@ public void buildType(Class> clazz) {
groovyType = groovyTypeParser.parser();
groovyType.setDataType(dataType);
ScriptType scriptType = clazz.getAnnotation(ScriptType.class);
- if(scriptType!=null) {
+ if (scriptType != null) {
groovyType.setDescription(scriptType.description());
}
this.put(dataType, groovyType);
@@ -66,6 +73,7 @@ public void buildType(Class> clazz) {
/**
* 增加请求参数数据对象
+ *
* @param request 请求参数
*/
public void addRequest(GroovyField request) {
@@ -74,26 +82,29 @@ public void addRequest(GroovyField request) {
/**
* 更新流程类型数据
- * @param dataType 数据类型
+ *
+ * @param dataType 数据类型
* @param groovyType 脚本类型
*/
- public void put(String dataType,GroovyType groovyType){
+ public void put(String dataType, GroovyType groovyType) {
this.types.put(dataType, groovyType);
}
/**
* 获取流程类型数据
+ *
* @param dataType 数据类型
* @return 脚本类型
*/
- public GroovyType getType(String dataType){
+ public GroovyType getType(String dataType) {
return this.types.get(dataType);
}
/**
* 增加绑定数据对象
+ *
* @param bind 绑定数据
*/
public void addBind(GroovyField bind) {
diff --git a/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/service/GroovyMetadataParserService.java b/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/service/GroovyMetadataParserService.java
index 6d436ee4..715f5e8e 100644
--- a/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/service/GroovyMetadataParserService.java
+++ b/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/service/GroovyMetadataParserService.java
@@ -20,6 +20,7 @@ public class GroovyMetadataParserService {
public GroovyMetadataParserService(GroovyRunningScript> script) {
this.script = script;
this.groovyMetadata = new GroovyMetadata();
+ this.groovyMetadata.setMainMethod(script.getMethod());
}
From aab243e2f85a870bc10f9a644c94fd0b4342d287 Mon Sep 17 00:00:00 2001
From: lorne <1991wangliang@gmail.com>
Date: Tue, 26 May 2026 22:23:00 +0800
Subject: [PATCH 2/2] update version
---
.../example-app-cmd-domain/pom.xml | 2 +-
.../example-app/example-app-cmd-meta/pom.xml | 2 +-
example/example-app/example-app-query/pom.xml | 2 +-
example/example-app/pom.xml | 2 +-
.../example-domain-leave/pom.xml | 2 +-
.../example-domain-user/pom.xml | 2 +-
example/example-domain/pom.xml | 2 +-
.../example-infra/example-infra-flow/pom.xml | 2 +-
.../example-infra/example-infra-jpa/pom.xml | 2 +-
.../example-infra-security/pom.xml | 2 +-
example/example-infra/pom.xml | 2 +-
example/example-interface/pom.xml | 2 +-
example/example-server/pom.xml | 2 +-
example/pom.xml | 2 +-
pom.xml | 2 +-
springboot-starter-data-authorization/pom.xml | 2 +-
springboot-starter-data-fast/pom.xml | 2 +-
springboot-starter-flow/pom.xml | 2 +-
springboot-starter-security/pom.xml | 2 +-
springboot-starter/pom.xml | 2 +-
.../framework/script/meta/GroovyMetadata.java | 6 ++++
.../script/request/GroovyRunningScript.java | 33 ++++++++++++++-----
.../service/GroovyMetadataParserService.java | 1 +
.../GroovyScriptRunningContextTest.java | 1 -
24 files changed, 51 insertions(+), 30 deletions(-)
diff --git a/example/example-app/example-app-cmd-domain/pom.xml b/example/example-app/example-app-cmd-domain/pom.xml
index 75fff43b..ea9cbb7e 100644
--- a/example/example-app/example-app-cmd-domain/pom.xml
+++ b/example/example-app/example-app-cmd-domain/pom.xml
@@ -6,7 +6,7 @@
com.codingapi.springboot
example-app
- 3.4.48
+ 3.4.49
../pom.xml
diff --git a/example/example-app/example-app-cmd-meta/pom.xml b/example/example-app/example-app-cmd-meta/pom.xml
index a515f0cf..fa5a85b3 100644
--- a/example/example-app/example-app-cmd-meta/pom.xml
+++ b/example/example-app/example-app-cmd-meta/pom.xml
@@ -6,7 +6,7 @@
com.codingapi.springboot
example-app
- 3.4.48
+ 3.4.49
../pom.xml
diff --git a/example/example-app/example-app-query/pom.xml b/example/example-app/example-app-query/pom.xml
index ffdb4fe7..d98b0870 100644
--- a/example/example-app/example-app-query/pom.xml
+++ b/example/example-app/example-app-query/pom.xml
@@ -6,7 +6,7 @@
com.codingapi.springboot
example-app
- 3.4.48
+ 3.4.49
../pom.xml
diff --git a/example/example-app/pom.xml b/example/example-app/pom.xml
index 035e9e22..a06ce069 100644
--- a/example/example-app/pom.xml
+++ b/example/example-app/pom.xml
@@ -6,7 +6,7 @@
com.codingapi.springboot
springboot-example
- 3.4.48
+ 3.4.49
../pom.xml
pom
diff --git a/example/example-domain/example-domain-leave/pom.xml b/example/example-domain/example-domain-leave/pom.xml
index 9af05e45..34d74e5e 100644
--- a/example/example-domain/example-domain-leave/pom.xml
+++ b/example/example-domain/example-domain-leave/pom.xml
@@ -6,7 +6,7 @@
com.codingapi.springboot
example-domain
- 3.4.48
+ 3.4.49
../pom.xml
diff --git a/example/example-domain/example-domain-user/pom.xml b/example/example-domain/example-domain-user/pom.xml
index 0512625d..7e63cef4 100644
--- a/example/example-domain/example-domain-user/pom.xml
+++ b/example/example-domain/example-domain-user/pom.xml
@@ -6,7 +6,7 @@
com.codingapi.springboot
example-domain
- 3.4.48
+ 3.4.49
../pom.xml
diff --git a/example/example-domain/pom.xml b/example/example-domain/pom.xml
index c90a33f5..e6aa033d 100644
--- a/example/example-domain/pom.xml
+++ b/example/example-domain/pom.xml
@@ -5,7 +5,7 @@
com.codingapi.springboot
springboot-example
- 3.4.48
+ 3.4.49
../pom.xml
4.0.0
diff --git a/example/example-infra/example-infra-flow/pom.xml b/example/example-infra/example-infra-flow/pom.xml
index 6efbc6d2..8f0d701f 100644
--- a/example/example-infra/example-infra-flow/pom.xml
+++ b/example/example-infra/example-infra-flow/pom.xml
@@ -5,7 +5,7 @@
com.codingapi.springboot
example-infra
- 3.4.48
+ 3.4.49
../pom.xml
diff --git a/example/example-infra/example-infra-jpa/pom.xml b/example/example-infra/example-infra-jpa/pom.xml
index b4472afb..06c380f5 100644
--- a/example/example-infra/example-infra-jpa/pom.xml
+++ b/example/example-infra/example-infra-jpa/pom.xml
@@ -5,7 +5,7 @@
com.codingapi.springboot
example-infra
- 3.4.48
+ 3.4.49
../pom.xml
diff --git a/example/example-infra/example-infra-security/pom.xml b/example/example-infra/example-infra-security/pom.xml
index 8e915a7a..40f3d079 100644
--- a/example/example-infra/example-infra-security/pom.xml
+++ b/example/example-infra/example-infra-security/pom.xml
@@ -6,7 +6,7 @@
com.codingapi.springboot
example-infra
- 3.4.48
+ 3.4.49
../pom.xml
diff --git a/example/example-infra/pom.xml b/example/example-infra/pom.xml
index f5453a6a..4da00f43 100644
--- a/example/example-infra/pom.xml
+++ b/example/example-infra/pom.xml
@@ -6,7 +6,7 @@
com.codingapi.springboot
springboot-example
- 3.4.48
+ 3.4.49
../pom.xml
pom
diff --git a/example/example-interface/pom.xml b/example/example-interface/pom.xml
index 77ec5c01..1cc2348c 100644
--- a/example/example-interface/pom.xml
+++ b/example/example-interface/pom.xml
@@ -6,7 +6,7 @@
com.codingapi.springboot
springboot-example
- 3.4.48
+ 3.4.49
example-interface
diff --git a/example/example-server/pom.xml b/example/example-server/pom.xml
index 54e4c611..390ce743 100644
--- a/example/example-server/pom.xml
+++ b/example/example-server/pom.xml
@@ -5,7 +5,7 @@
springboot-example
com.codingapi.springboot
- 3.4.48
+ 3.4.49
4.0.0
diff --git a/example/pom.xml b/example/pom.xml
index fcea58ce..fc06945f 100644
--- a/example/pom.xml
+++ b/example/pom.xml
@@ -19,7 +19,7 @@
springboot-example
- 3.4.48
+ 3.4.49
springboot-example
springboot-example project for Spring Boot
diff --git a/pom.xml b/pom.xml
index e2b98601..24edea63 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@
com.codingapi.springboot
springboot-parent
- 3.4.48
+ 3.4.49
https://github.com/codingapi/springboot-framewrok
springboot-parent
diff --git a/springboot-starter-data-authorization/pom.xml b/springboot-starter-data-authorization/pom.xml
index 70a75692..25ade71a 100644
--- a/springboot-starter-data-authorization/pom.xml
+++ b/springboot-starter-data-authorization/pom.xml
@@ -6,7 +6,7 @@
com.codingapi.springboot
springboot-parent
- 3.4.48
+ 3.4.49
springboot-starter-data-authorization
diff --git a/springboot-starter-data-fast/pom.xml b/springboot-starter-data-fast/pom.xml
index 197caa7c..67075ae9 100644
--- a/springboot-starter-data-fast/pom.xml
+++ b/springboot-starter-data-fast/pom.xml
@@ -5,7 +5,7 @@
springboot-parent
com.codingapi.springboot
- 3.4.48
+ 3.4.49
4.0.0
diff --git a/springboot-starter-flow/pom.xml b/springboot-starter-flow/pom.xml
index 048fef9f..49ef4056 100644
--- a/springboot-starter-flow/pom.xml
+++ b/springboot-starter-flow/pom.xml
@@ -6,7 +6,7 @@
springboot-parent
com.codingapi.springboot
- 3.4.48
+ 3.4.49
springboot-starter-flow
diff --git a/springboot-starter-security/pom.xml b/springboot-starter-security/pom.xml
index daa5316a..2ab67bfa 100644
--- a/springboot-starter-security/pom.xml
+++ b/springboot-starter-security/pom.xml
@@ -6,7 +6,7 @@
springboot-parent
com.codingapi.springboot
- 3.4.48
+ 3.4.49
springboot-starter-security
diff --git a/springboot-starter/pom.xml b/springboot-starter/pom.xml
index 70643571..51b842f7 100644
--- a/springboot-starter/pom.xml
+++ b/springboot-starter/pom.xml
@@ -5,7 +5,7 @@
com.codingapi.springboot
springboot-parent
- 3.4.48
+ 3.4.49
springboot-starter
diff --git a/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/meta/GroovyMetadata.java b/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/meta/GroovyMetadata.java
index 8fb9f9f6..de3dcde1 100644
--- a/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/meta/GroovyMetadata.java
+++ b/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/meta/GroovyMetadata.java
@@ -44,6 +44,12 @@ public class GroovyMetadata {
*/
private final Map types;
+ /**
+ * 脚本说明
+ */
+ @Setter
+ private String description;
+
public GroovyMetadata() {
this.types = new HashMap<>();
diff --git a/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/request/GroovyRunningScript.java b/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/request/GroovyRunningScript.java
index 178d9d6a..a9209f9c 100644
--- a/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/request/GroovyRunningScript.java
+++ b/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/request/GroovyRunningScript.java
@@ -26,6 +26,11 @@ public class GroovyRunningScript {
*/
private final String script;
+ /**
+ * 脚本说明
+ */
+ private final String description;
+
/**
* 返回数据类型
*/
@@ -47,37 +52,46 @@ public class GroovyRunningScript {
private GroovyMetadata metadata;
- public GroovyRunningScript(String method, String script, Class returnType, List binds, List requests) {
+ public GroovyRunningScript(String method, String script, String description, Class returnType, List binds, List requests) {
this.method = method;
this.script = script;
+ this.description = description;
this.returnType = returnType;
this.requests = requests;
this.binds = binds;
}
- public GroovyRunningScript(String method, String script, Class returnType, GroovyBindObjectBuilder bindBuilder, GroovyBindObjectBuilder requestBuilder) {
- this(method, script, returnType, bindBuilder != null ? bindBuilder.build() : null, requestBuilder != null ? requestBuilder.build() : null);
+ public GroovyRunningScript(String method, String script, String description, Class returnType, GroovyBindObjectBuilder bindBuilder, GroovyBindObjectBuilder requestBuilder) {
+ this(method, script, description, returnType, bindBuilder != null ? bindBuilder.build() : null, requestBuilder != null ? requestBuilder.build() : null);
}
- public GroovyRunningScript(String method, String script, Class returnType, GroovyBindObjectBuilder requestBuilder) {
- this(method, script, returnType, null, requestBuilder);
+ public GroovyRunningScript(String method, String script, String description, Class returnType, GroovyBindObjectBuilder requestBuilder) {
+ this(method, script, description, returnType, null, requestBuilder);
}
- public GroovyRunningScript(String script, Class returnType, GroovyBindObjectBuilder bindBuilder, GroovyBindObjectBuilder requestBuilder) {
- this("run", script, returnType, bindBuilder, requestBuilder);
+ public GroovyRunningScript(String script, Class returnType, GroovyBindObjectBuilder bindBuilder, GroovyBindObjectBuilder requestBuilder) {
+ this("run", script, null, returnType, bindBuilder, requestBuilder);
}
- public GroovyRunningScript(String script, Class returnType, GroovyBindObjectBuilder requestBuilder) {
+ public GroovyRunningScript(String script, String description, Class returnType, GroovyBindObjectBuilder bindBuilder, GroovyBindObjectBuilder requestBuilder) {
+ this("run", script, description, returnType, bindBuilder, requestBuilder);
+ }
+
+ public GroovyRunningScript(String script,String description, Class returnType, GroovyBindObjectBuilder requestBuilder) {
this("run", script, returnType, null, requestBuilder);
}
+ public GroovyRunningScript(String script,Class returnType, GroovyBindObjectBuilder requestBuilder) {
+ this("run", script,null, returnType, null, requestBuilder);
+ }
+
/**
* 获取参数
*/
public Object[] getParams() {
List