Class IfTrue

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

    public class IfTrue
    extends ValueIf<Boolean>

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

    Author:
    Jeff Schnitzer
    • Constructor Detail

      • IfTrue

        public IfTrue()
    • Method Detail

      • matchesValue

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