package jnpf.dmsEntity.wenjianbianhao; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import java.util.Locale; /** * JNPF workflow events configured on the start node. */ public enum DmsFlowEventType { START("start"), END("end"), RECALL("recall"); private final String code; DmsFlowEventType(String code) { this.code = code; } @JsonValue public String getCode() { return code; } @JsonCreator public static DmsFlowEventType fromValue(String value) { if (value == null) { return null; } return valueOf(value.trim().toUpperCase(Locale.ROOT)); } }