刘光辉
昨天 bb638871a7fb692d80f1b7a758f991dc0879002c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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));
    }
}