- java.lang.Object
-
- aeonics.template.Parameter.Rule
-
- Enclosing class:
- Parameter
public static class Parameter.Rule extends java.lang.Object
This class provides default values that can be used inParameter.rule(Predicate)
.
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.function.Predicate<java.lang.String>
ALPHA
Rule for letters a-z A-Zstatic java.util.function.Predicate<java.lang.String>
ALPHANUM
Rule for letters and digits a-z A-Z 0-9static java.util.function.Predicate<java.lang.String>
ALPHANUMSPACE
Rule for letters, digits and space a-z A-Z 0-9static java.util.function.Predicate<java.lang.String>
BASE64
Rule for base64static java.util.function.Predicate<java.lang.String>
BOOLEAN
Rule for booleanstatic java.util.function.Predicate<java.lang.String>
DIGIT
Rule for digits 0-9static java.util.function.Predicate<java.lang.String>
EMAIL
Rule for email addressstatic java.util.function.Predicate<java.lang.String>
FILENAME
Rule for file namestatic java.util.function.Predicate<java.lang.String>
FLOAT
Rule for floating point numberstatic java.util.function.Predicate<java.lang.String>
HEXA
Rule for hexastatic java.util.function.Predicate<java.lang.String>
ID
Rule for entity idstatic java.util.function.Predicate<java.lang.String>
INTEGER
Rule for integerstatic java.util.function.Predicate<java.lang.String>
JSON_LIST
Rule for JSON Array Note that this is a simple trivial check, it does not mean that the value is a valid JSON Array.static java.util.function.Predicate<java.lang.String>
JSON_MAP
Rule for JSON Object Note that this is a simple trivial check, it does not mean that the value is a valid JSON Object.static java.util.function.Predicate<java.lang.String>
LOWER
Rule for lower case a-zstatic java.util.function.Predicate<java.lang.String>
PATH
Rule for routing pathstatic java.util.function.Predicate<java.lang.String>
UPPER
Rule for upper case A-Zstatic java.util.function.Predicate<java.lang.String>
URL
Rule for URLstatic java.util.function.Predicate<java.lang.String>
WILDCARD_PATH
Rule for routing path with wildcards
-
-
-
Field Detail
-
UPPER
public static final java.util.function.Predicate<java.lang.String> UPPER
Rule for upper case A-Z
-
LOWER
public static final java.util.function.Predicate<java.lang.String> LOWER
Rule for lower case a-z
-
DIGIT
public static final java.util.function.Predicate<java.lang.String> DIGIT
Rule for digits 0-9
-
ALPHA
public static final java.util.function.Predicate<java.lang.String> ALPHA
Rule for letters a-z A-Z
-
ALPHANUM
public static final java.util.function.Predicate<java.lang.String> ALPHANUM
Rule for letters and digits a-z A-Z 0-9
-
ALPHANUMSPACE
public static final java.util.function.Predicate<java.lang.String> ALPHANUMSPACE
Rule for letters, digits and space a-z A-Z 0-9
-
BOOLEAN
public static final java.util.function.Predicate<java.lang.String> BOOLEAN
Rule for boolean
-
BASE64
public static final java.util.function.Predicate<java.lang.String> BASE64
Rule for base64
-
HEXA
public static final java.util.function.Predicate<java.lang.String> HEXA
Rule for hexa
-
INTEGER
public static final java.util.function.Predicate<java.lang.String> INTEGER
Rule for integer
-
FLOAT
public static final java.util.function.Predicate<java.lang.String> FLOAT
Rule for floating point number
-
PATH
public static final java.util.function.Predicate<java.lang.String> PATH
Rule for routing path
-
WILDCARD_PATH
public static final java.util.function.Predicate<java.lang.String> WILDCARD_PATH
Rule for routing path with wildcards
-
ID
public static final java.util.function.Predicate<java.lang.String> ID
Rule for entity id
-
EMAIL
public static final java.util.function.Predicate<java.lang.String> EMAIL
Rule for email address
-
FILENAME
public static final java.util.function.Predicate<java.lang.String> FILENAME
Rule for file name
-
URL
public static final java.util.function.Predicate<java.lang.String> URL
Rule for URL
-
JSON_MAP
public static final java.util.function.Predicate<java.lang.String> JSON_MAP
Rule for JSON Object Note that this is a simple trivial check, it does not mean that the value is a valid JSON Object.
-
JSON_LIST
public static final java.util.function.Predicate<java.lang.String> JSON_LIST
Rule for JSON Array Note that this is a simple trivial check, it does not mean that the value is a valid JSON Array.
-
-