Class IfEmptyString

  • All Implemented Interfaces:
    If<String,​Object>

    public class IfEmptyString
    extends ValueIf<String>

    Simple If condition that returns true if the value is an empty string. Note that a null string still returns false.

    Author:
    Jeff Schnitzer
    • Constructor Detail

      • IfEmptyString

        public IfEmptyString()
    • Method Detail

      • matchesValue

        public boolean matchesValue​(String value)
        Description copied from interface: If
        Test a simple property value.
        Parameters:
        value - is the actual value of a particular field
        Returns:
        true if the value matches the condition defined by an instance of this interface.