diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/AccessTokenState.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/AccessTokenState.java index 21fb347d7c..b2a3735a78 100644 --- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/AccessTokenState.java +++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/AccessTokenState.java @@ -17,9 +17,7 @@ package org.apache.streampark.console.core.enums; -import java.io.Serializable; - -public enum AccessTokenState implements Serializable { +public enum AccessTokenState { /** not added token */ NULL(0), diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/AppExistsState.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/AppExistsState.java index cebd2bbf33..707a60ac69 100644 --- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/AppExistsState.java +++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/AppExistsState.java @@ -17,9 +17,7 @@ package org.apache.streampark.console.core.enums; -import java.io.Serializable; - -public enum AppExistsState implements Serializable { +public enum AppExistsState { /** no exists */ NO(0), diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/BuildState.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/BuildState.java index b71f562fb8..2229a8b36c 100644 --- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/BuildState.java +++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/BuildState.java @@ -17,10 +17,9 @@ package org.apache.streampark.console.core.enums; -import java.io.Serializable; import java.util.Arrays; -public enum BuildState implements Serializable { +public enum BuildState { /** has changed, need rebuild */ NEED_REBUILD(-2), diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/CandidateType.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/CandidateType.java index 34d8e3616b..d4693d84d7 100644 --- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/CandidateType.java +++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/CandidateType.java @@ -17,10 +17,9 @@ package org.apache.streampark.console.core.enums; -import java.io.Serializable; import java.util.Arrays; -public enum CandidateType implements Serializable { +public enum CandidateType { /** non candidate */ NONE(0), diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/ChangeTypeEnum.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/ChangeTypeEnum.java index d6a74cab92..126d7b5811 100644 --- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/ChangeTypeEnum.java +++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/ChangeTypeEnum.java @@ -19,12 +19,11 @@ import lombok.Getter; -import java.io.Serializable; import java.util.Arrays; /** This is an enumeration representing the types of changes that can occur. */ @Getter -public enum ChangeTypeEnum implements Serializable { +public enum ChangeTypeEnum { /** Represents no change. */ NONE(0, "[NONE], nothing to changed"), diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/CheckPointStatus.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/CheckPointStatus.java index adcaaaaf89..f065b864a0 100644 --- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/CheckPointStatus.java +++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/CheckPointStatus.java @@ -17,10 +17,9 @@ package org.apache.streampark.console.core.enums; -import java.io.Serializable; import java.util.Arrays; -public enum CheckPointStatus implements Serializable { +public enum CheckPointStatus { /** IN_PROGRESS */ IN_PROGRESS(1), /** COMPLETED */ diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/CheckPointType.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/CheckPointType.java index 432eee2c31..e4a25e94c8 100644 --- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/CheckPointType.java +++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/CheckPointType.java @@ -17,10 +17,9 @@ package org.apache.streampark.console.core.enums; -import java.io.Serializable; import java.util.Arrays; -public enum CheckPointType implements Serializable { +public enum CheckPointType { /** CHECKPOINT */ CHECKPOINT(1), /** SAVEPOINT */ diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/ConfigFileType.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/ConfigFileType.java index a71c6d393e..9cd62bf7fc 100644 --- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/ConfigFileType.java +++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/ConfigFileType.java @@ -19,12 +19,11 @@ import lombok.Getter; -import java.io.Serializable; import java.util.Arrays; /** configFile Type enum */ @Getter -public enum ConfigFileType implements Serializable { +public enum ConfigFileType { YAML(1, "yaml"), PROPERTIES(2, "prop"), diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/EffectiveType.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/EffectiveType.java index 6817358ae5..6de934c00f 100644 --- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/EffectiveType.java +++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/EffectiveType.java @@ -19,10 +19,8 @@ import lombok.Getter; -import java.io.Serializable; - @Getter -public enum EffectiveType implements Serializable { +public enum EffectiveType { /** config */ CONFIG(1), /** FLINKSQL */ diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/FlinkAppState.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/FlinkAppState.java index c4c00023ca..87c7493f3c 100644 --- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/FlinkAppState.java +++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/FlinkAppState.java @@ -21,12 +21,10 @@ import lombok.Getter; -import java.io.Serializable; - import scala.Enumeration; @Getter -public enum FlinkAppState implements Serializable { +public enum FlinkAppState { /** Added new job to database. */ ADDED(0), diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/GitAuthorizedError.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/GitAuthorizedError.java index 04d4d4e5ea..de45a74456 100644 --- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/GitAuthorizedError.java +++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/GitAuthorizedError.java @@ -17,9 +17,7 @@ package org.apache.streampark.console.core.enums; -import java.io.Serializable; - -public enum GitAuthorizedError implements Serializable { +public enum GitAuthorizedError { /** Success. */ SUCCESS(0), diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/NoticeType.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/NoticeType.java index e821001b0b..29f67cc0be 100644 --- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/NoticeType.java +++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/NoticeType.java @@ -17,10 +17,9 @@ package org.apache.streampark.console.core.enums; -import java.io.Serializable; import java.util.Arrays; -public enum NoticeType implements Serializable { +public enum NoticeType { /** exception */ EXCEPTION(1), /** message */ diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/Operation.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/Operation.java index 2acc60c085..ba6cee3dd1 100644 --- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/Operation.java +++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/Operation.java @@ -19,11 +19,10 @@ import lombok.Getter; -import java.io.Serializable; import java.util.Arrays; @Getter -public enum Operation implements Serializable { +public enum Operation { RELEASE(0), START(1), SAVEPOINT(2), diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/OptionState.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/OptionState.java index 580c057eea..500aefe4de 100644 --- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/OptionState.java +++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/OptionState.java @@ -19,11 +19,10 @@ import lombok.Getter; -import java.io.Serializable; import java.util.Arrays; @Getter -public enum OptionState implements Serializable { +public enum OptionState { /** Application which is currently action: none. */ NONE(0), diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/PlaceholderType.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/PlaceholderType.java index 8b1ffb8844..b3804124a7 100644 --- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/PlaceholderType.java +++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/PlaceholderType.java @@ -17,10 +17,8 @@ package org.apache.streampark.console.core.enums; -import java.io.Serializable; - /** configFile Type enum */ -public enum PlaceholderType implements Serializable { +public enum PlaceholderType { JOB_ID("job_id"), JOB_NAME("job_name"), diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/ReleaseState.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/ReleaseState.java index 0ecc4eb167..ad47e1fa0b 100644 --- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/ReleaseState.java +++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/ReleaseState.java @@ -17,10 +17,9 @@ package org.apache.streampark.console.core.enums; -import java.io.Serializable; import java.util.Arrays; -public enum ReleaseState implements Serializable { +public enum ReleaseState { /** release failed */ FAILED(-1), diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/ResourceFrom.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/ResourceFrom.java index 38d7888fbb..d2e08addb6 100644 --- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/ResourceFrom.java +++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/ResourceFrom.java @@ -19,11 +19,10 @@ import lombok.Getter; -import java.io.Serializable; import java.util.Arrays; @Getter -public enum ResourceFrom implements Serializable { +public enum ResourceFrom { /** cicd(build from cvs) */ CICD(1), diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/StopFrom.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/StopFrom.java index 450a5d5af4..7962b8de76 100644 --- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/StopFrom.java +++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/enums/StopFrom.java @@ -17,9 +17,7 @@ package org.apache.streampark.console.core.enums; -import java.io.Serializable; - -public enum StopFrom implements Serializable { +public enum StopFrom { /** None */ NONE, /** StreamPark */