Annotation Interface KeyPattern


@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
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    An annotation used to annotate elements that must match against a valid Key namespace pattern.
    static @interface 
    An annotation used to annotate elements that must match against a valid Key value pattern.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The pattern for namespaces.
    static final String
    The pattern for values.
  • Field Details