@Documented
@Pattern("(?:(^(?!\\.\\.$)[a-z0-9_.-]+$:)?|:)[a-z0-9_\\-./]+")
@Retention(CLASS)
@Target({FIELD,LOCAL_VARIABLE,METHOD,PARAMETER})
public @interface KeyPattern
An annotation used to annotate elements that must match against a valid
Key pattern.- Since:
- 4.14.0
-
Field Details
-
NAMESPACE_PATTERN
The pattern for namespaces.- Since:
- 5.0.0
- See Also:
-
VALUE_PATTERN
The pattern for values.- Since:
- 5.0.0
- See Also:
-