From ba9a2d69447b9af5014b29ba1fc378b8ed618f8b Mon Sep 17 00:00:00 2001 From: dhb52 Date: Wed, 10 Jul 2024 23:18:22 +0800 Subject: [PATCH] =?UTF-8?q?feat(sj=5F1.1.0-beta3):=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E5=99=A8=E7=B1=BB=E5=9E=8B=E6=9E=9A=E4=B8=BE?= =?UTF-8?q?ExecutorTypeEnum?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/core/enums/ExecutorTypeEnum.java | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 snail-job-common/snail-job-common-core/src/main/java/com/aizuda/snailjob/common/core/enums/ExecutorTypeEnum.java diff --git a/snail-job-common/snail-job-common-core/src/main/java/com/aizuda/snailjob/common/core/enums/ExecutorTypeEnum.java b/snail-job-common/snail-job-common-core/src/main/java/com/aizuda/snailjob/common/core/enums/ExecutorTypeEnum.java new file mode 100644 index 000000000..59d0a4a9a --- /dev/null +++ b/snail-job-common/snail-job-common-core/src/main/java/com/aizuda/snailjob/common/core/enums/ExecutorTypeEnum.java @@ -0,0 +1,23 @@ +package com.aizuda.snailjob.common.core.enums; + +import lombok.AllArgsConstructor; +import lombok.Getter; + +/** + * 执行器类型枚举 + * + * @author dhb52 + * @date 2024-07-09 23:48:55 + * @since 1.1.0 + */ +@AllArgsConstructor +@Getter +public enum ExecutorTypeEnum { + + JAVA(1), + PYTHON(2), + ; + + private final int type; + +}