docs: 完善文档.

This commit is contained in:
2021-08-19 23:45:15 +08:00
parent 83161f81fb
commit 72685ef896
2 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,9 @@ import net.lamgc.oracle.sentry.ComputeInstanceManager;
import net.lamgc.oracle.sentry.script.tools.http.ScriptHttpClient;
/**
* 脚本组件集合.
* <p> 存储了脚本可以使用的对象.
* <p> 后续可能会改成用 {@link javax.script.Bindings} 之类的.
* @author LamGC
*/
public final record ScriptComponents(

View File

@ -10,6 +10,8 @@ import java.util.ServiceLoader;
import java.util.concurrent.ConcurrentHashMap;
/**
* Groovy 脚本语言的触发器提供者.
* <p> 根据脚本需要创建并注册触发器.
* @author LamGC
*/
public class GroovyTriggerProvider {