@ -17,12 +17,10 @@
package org.apache.dolphinscheduler.common.enums;
import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;
/**
* warning message notification method
*/
@Getter
public enum AlertType {
* 0 email; 1 SMS
@ -39,4 +37,12 @@ public enum AlertType {
@EnumValue
private final int code;
private final String descp;
public int getCode() {
return code;
}
public String getDescp() {
return descp;
* failure policy when some task node failed.
public enum FailureStrategy {
@ -40,4 +38,12 @@ public enum FailureStrategy {
* process define release state
public enum ReleaseState {
@ -50,4 +48,12 @@ public enum ReleaseState {
//For values out of enum scope
return null;
* complement data run mode
public enum RunMode {
* 0 serial run
@ -39,4 +37,12 @@ public enum RunMode {
* task node depend type
public enum TaskDependType {
* 0 run current tasks only
@ -41,4 +39,12 @@ public enum TaskDependType {
* types for whether to send warning when process ending;
public enum WarningType {
* 0 do not send warning;
@ -44,4 +42,12 @@ public enum WarningType {