RunCardType.java

package com.mycim.valueobject.runcard.util;

/**
 * Run Card Action Type
 *
 * @author finatice.yang
 * @date 2021/4/23
 **/
public enum RunCardType {

    /**
     * NORMAL,分批
     **/
    NORMAL,
    /**
     * AUTO,skip type
     **/
    AUTO;

    public static boolean isNormalTypeRunCard(String type) {
        if (NORMAL.toString().equals(type)) {
            return true;
        }
        return false;
    }

    public static boolean isAutoTypeRunCard(String type) {
        if (AUTO.toString().equals(type)) {
            return true;
        }
        return false;
    }

}