Class FormatValidatorFactory.InvalidFormatValidator

java.lang.Object
org.jboss.logging.processor.validation.AbstractFormatValidator
org.jboss.logging.processor.validation.FormatValidatorFactory.InvalidFormatValidator
All Implemented Interfaces:
FormatValidator
Enclosing class:
FormatValidatorFactory

private static final class FormatValidatorFactory.InvalidFormatValidator extends AbstractFormatValidator
  • Constructor Details

    • InvalidFormatValidator

      private InvalidFormatValidator()
  • Method Details

    • of

      static FormatValidator of(String summaryMessage)
    • of

      static FormatValidator of(String summaryMessage, String detailMessage)
    • format

      public String format()
      Description copied from interface: FormatValidator
      Returns the format string used for validation.
      Returns:
      the format string.
    • argumentCount

      public int argumentCount()
      Description copied from interface: FormatValidator
      The number of arguments needed for the format.
      Returns:
      the number of arguments needed.
    • isValid

      public boolean isValid()
      Description copied from interface: FormatValidator
      Returns true of the format is valid, otherwise false.
      Returns:
      true of the format is valid, otherwise false.