Updated code
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package net.gepafin.tendermanagement.enums;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
|
||||
|
||||
public enum MatchModeEnum {
|
||||
STARTSWITH("STARTSWITH"),
|
||||
ENDSWITH("ENDSWITH"),
|
||||
CONTAINS("CONTAINS"),
|
||||
EQUALS("EQUALS"),
|
||||
BEFORE("BEFORE"),
|
||||
AFTER("AFTER"),
|
||||
EXPIRED("EXPIRED");
|
||||
|
||||
private String value;
|
||||
|
||||
MatchModeEnum(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@JsonValue
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user