Class TestCondition

  • All Implemented Interfaces:
    ICondition

    public class TestCondition
    extends java.lang.Object
    implements ICondition
    A test condition has the purpose to evaluation a predicate. It is true when the predicate result is true.
    • Constructor Detail

      • TestCondition

        public TestCondition​(PredicateConstraint constraint)
        Create a new object condition.
    • Method Detail

      • getVariables

        public java.util.List getVariables()
        Get the variables.
        Specified by:
        getVariables in interface ICondition
        Returns:
        The declared variables.
      • getConstraint

        public PredicateConstraint getConstraint()
        Get the constraint.
        Returns:
        The constraint.
      • toString

        public java.lang.String toString()
        Get the string representation.
        Overrides:
        toString in class java.lang.Object
        Returns:
        The string representation.