Commit aadf0aae authored by DK.Pino's avatar DK.Pino Committed by qiaozhanwei
Browse files

remove lombok annocation (#1600)

parent c17fe38a
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@
package org.apache.dolphinscheduler.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * have_script
@@ -27,7 +26,6 @@ import lombok.Getter;
 * have_map_variables
 * have_alert
 */
@Getter
public enum Flag {
    /**
     * 0 no
@@ -45,4 +43,12 @@ public enum Flag {
    @EnumValue
    private final int code;
    private final String descp;

    public int getCode() {
        return code;
    }

    public String getDescp() {
        return descp;
    }
}
+7 −2
Original line number Diff line number Diff line
@@ -17,12 +17,10 @@
package org.apache.dolphinscheduler.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 *  define process and task priority
 */
@Getter
public enum Priority {
    /**
     * 0 highest priority
@@ -46,4 +44,11 @@ public enum Priority {
    private final int code;
    private final String descp;

    public int getCode() {
        return code;
    }

    public String getDescp() {
        return descp;
    }
}
+8 −2
Original line number Diff line number Diff line
@@ -17,12 +17,10 @@
package org.apache.dolphinscheduler.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * resource type
 */
@Getter
public enum  ResourceType {
    /**
     * 0 file, 1 udf
@@ -39,4 +37,12 @@ public enum ResourceType {
    @EnumValue
    private final int code;
    private final String descp;

    public int getCode() {
        return code;
    }

    public String getDescp() {
        return descp;
    }
}
+8 −2
Original line number Diff line number Diff line
@@ -17,12 +17,10 @@
package org.apache.dolphinscheduler.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * show type for email
 */
@Getter
public enum ShowType {
    /**
     * 0 TABLE;
@@ -44,4 +42,12 @@ public enum ShowType {
    @EnumValue
    private final int code;
    private final String descp;

    public int getCode() {
        return code;
    }

    public String getDescp() {
        return descp;
    }
}
+7 −2
Original line number Diff line number Diff line
@@ -17,12 +17,10 @@
package org.apache.dolphinscheduler.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * task node type
 */
@Getter
public enum TaskType {
    /**
     * 0 SHELL
@@ -61,4 +59,11 @@ public enum TaskType {
        return !(taskType == TaskType.SUB_PROCESS || taskType == TaskType.DEPENDENT);
    }

    public int getCode() {
        return code;
    }

    public String getDescp() {
        return descp;
    }
}
Loading