Class IfTrue

java.lang.Object
com.googlecode.objectify.condition.ValueIf<Boolean>
com.googlecode.objectify.condition.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 invalid input: '<'[email protected]>
  • Constructor Details

    • IfTrue

      public IfTrue()
  • Method Details

    • 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.