Class BooleanFlagValidator

  • All Implemented Interfaces:
    PropertyValidator

    public class BooleanFlagValidator
    extends java.lang.Object
    implements PropertyValidator
    This validator handles properties that are Boolean flags. These properties can be set using a string (yes/no, on/off, true/false) or an integer (1/0), as well as a Boolean value. A null value is not permitted.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object validate​(java.lang.Object value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BooleanFlagValidator

        public BooleanFlagValidator()
    • Method Detail

      • validate

        public java.lang.Object validate​(java.lang.Object value)
        Specified by:
        validate in interface PropertyValidator