Class IfNotNull

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

    public class IfNotNull
    extends ValueIf<Object>

    Simple If condition that returns true if the value is not null.

    Author:
    Jeff Schnitzer
    • Constructor Detail

      • IfNotNull

        public IfNotNull()
    • Method Detail

      • matchesValue

        public boolean matchesValue​(Object 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.