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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThe number of arguments needed for the format.format()Returns the format string used for validation.booleanisValid()Returnstrueof the format is valid, otherwisefalse.(package private) static FormatValidator(package private) static FormatValidatorMethods inherited from class AbstractFormatValidator
detailMessage, setDetailMessage, setDetailMessage, setSummaryMessage, setSummaryMessage, summaryMessage
-
Constructor Details
-
InvalidFormatValidator
private InvalidFormatValidator()
-
-
Method Details
-
of
-
of
-
format
Description copied from interface:FormatValidatorReturns the format string used for validation.- Returns:
- the format string.
-
argumentCount
public int argumentCount()Description copied from interface:FormatValidatorThe number of arguments needed for the format.- Returns:
- the number of arguments needed.
-
isValid
public boolean isValid()Description copied from interface:FormatValidatorReturnstrueof the format is valid, otherwisefalse.- Returns:
trueof the format is valid, otherwisefalse.
-