Class AbstractFormatValidator
java.lang.Object
org.jboss.logging.processor.validation.AbstractFormatValidator
- All Implemented Interfaces:
FormatValidator
- Direct Known Subclasses:
FormatValidatorFactory.InvalidFormatValidator
,MessageFormatValidator
,NoFormatValidator
,StringFormatValidator
Date: 12.08.2011
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal String
A detail message ifFormatValidator.isValid()
returnsfalse
, otherwise an empty string.(package private) final void
setDetailMessage
(String detailMessage) (package private) final void
setDetailMessage
(String format, Object... args) (package private) final void
setSummaryMessage
(String summaryMessage) (package private) final void
setSummaryMessage
(String format, Object... args) final String
A summary message ifFormatValidator.isValid()
returnsfalse
, otherwise an empty string.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jboss.logging.processor.validation.FormatValidator
argumentCount, format, isValid
-
Field Details
-
summaryMessage
-
detailMessage
-
-
Constructor Details
-
AbstractFormatValidator
AbstractFormatValidator()
-
-
Method Details
-
setDetailMessage
-
setDetailMessage
-
setSummaryMessage
-
setSummaryMessage
-
detailMessage
Description copied from interface:FormatValidator
A detail message ifFormatValidator.isValid()
returnsfalse
, otherwise an empty string.- Specified by:
detailMessage
in interfaceFormatValidator
- Returns:
- a detailed message.
-
summaryMessage
Description copied from interface:FormatValidator
A summary message ifFormatValidator.isValid()
returnsfalse
, otherwise an empty string.- Specified by:
summaryMessage
in interfaceFormatValidator
- Returns:
- a summary message.
-