@ -17,12 +17,10 @@
package org.apache.dolphinscheduler.common.enums;
import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;
/**
* alert status
*/
@Getter
public enum AlertStatus {
* 0 waiting executed; 1 execute successfully,2 execute failed
@ -40,4 +38,12 @@ public enum AlertStatus {
@EnumValue
private final int code;
private final String descp;
public int getCode() {
return code;
}
public String getDescp() {
return descp;
* command types
public enum CommandType {
@ -59,4 +57,12 @@ public enum CommandType {
* data base types
public enum DbType {
* 0 mysql
@ -51,4 +49,12 @@ public enum DbType {
@ -18,13 +18,11 @@ package org.apache.dolphinscheduler.common.enums;
* running status for workflow and task nodes
*
public enum ExecutionStatus {
@ -123,5 +121,11 @@ public enum ExecutionStatus {
return this == KILL || this == STOP ;
@ -17,9 +17,7 @@
public enum SparkVersion {
@ -37,4 +35,12 @@ public enum SparkVersion {
* UDF type
public enum UdfType {
* 0 hive; 1 spark
@ -38,4 +36,12 @@ public enum UdfType {