[ server ] [ scheduler ]- script scheduler - 3
This commit is contained in:
@@ -14,10 +14,20 @@ import java.util.List;
|
||||
@SuperBuilder(toBuilder = true)
|
||||
public class ExecutionMessage {
|
||||
|
||||
/**
|
||||
* 用于区分 ExecutionMessage的类型
|
||||
* 直接执行预定函数,则为 Nacos配置中的 方法名称,例如 AgentUpdate AgentReboot
|
||||
*/
|
||||
private String type;
|
||||
|
||||
private List<String> commandList;
|
||||
|
||||
/**
|
||||
* add in 2023-1-17
|
||||
* 页面定时脚本任务 需要传递完整的命令列表
|
||||
*/
|
||||
private List<List<String>> scriptCommandList;
|
||||
|
||||
private String resultKey;
|
||||
|
||||
public static String GetResultKey(String topicName) {
|
||||
|
||||
Reference in New Issue
Block a user