Script

在 JVM 中运行 Groovy、Python、JavaScript、Ruby 或 SpEL 等解释型语言。

<dependency>
    <groupId>com.lodsve.boot</groupId>
    <artifactId>lodsve-boot-starter-script</artifactId>
</dependency>

脚本执行应限制来源、超时时间和可访问对象。对于不受信任的脚本输入,需要隔离执行环境。