Class LowerCondition

All Implemented Interfaces:
ICondition, IMatchingCondition, IExtendedPluginValue, Serializable

public final class LowerCondition extends ComparisonMatchingCondition
The complement of the GreaterEqualCondition. By default this condition ignores 'null' values (null values always fail evaluation).
Author:
ActiveViam
See Also:
  • Constructor Details

    • LowerCondition

      public LowerCondition(Object matchingParameter)
      Constructor.
      Parameters:
      matchingParameter - The matching parameter.
    • LowerCondition

      public LowerCondition(Object matchingParameter, boolean ignoreNull)
      Full constructor.
      Parameters:
      matchingParameter - The matching parameter.
      ignoreNull - if true this condition returns false when seeing null value.
  • Method Details

    • evaluate

      public boolean evaluate(Object input)
      Description copied from interface: ICondition
      Evaluates if the input object fits the condition.
      Parameters:
      input - the Object to evaluate
      Returns:
      TRUE if the Object is valid with regards to the condition, FALSE otherwise
    • getType

      public String getType()
      Description copied from interface: IExtendedPluginValue
      Return the type identifying of plugin value.
      Returns:
      type