Annotation Type EndsWith


  • @Retention(RUNTIME)
    @Target(FIELD)
    public @interface EndsWith
    Annotation that marks that an options value must end with a given string
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String[] suffixes
      Suffixes that the value must possess
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean ignoreCase
      If true then case of the value is ignored
      java.lang.String locale
      The locale used for comparisons
    • Element Detail

      • suffixes

        java.lang.String[] suffixes
        Suffixes that the value must possess
        Returns:
        String suffix
      • ignoreCase

        boolean ignoreCase
        If true then case of the value is ignored
        Returns:
        Ignore case
        Default:
        false
      • locale

        java.lang.String locale
        The locale used for comparisons
        Returns:
        Locale BCP47 tag
        Default:
        "en"