Class AssertionExpression

    • Constructor Detail

    • Method Detail

      • getChildren

        public java.util.List<Expression<java.lang.Boolean>> getChildren()
        Description copied from interface: Node
        Has to return the children of the node. This must never return null
        Specified by:
        getChildren in interface Node
        Returns:
        a list containing all the children of the node
      • condition

        public Expression<java.lang.Boolean> condition()
      • preConditionsExpression

        public Expression<java.lang.Boolean> preConditionsExpression()
      • name

        public java.lang.String name()
      • handle

        public AssertionResult handle​(java.lang.Exception exception)
        Specified by:
        handle in interface ExceptionHandlingNode<AssertionResult>
        Parameters:
        exception - to handle, usually comes from bottom nodes
        Returns:
        a resolved value that shall be used instead of the respective node.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • key

        public java.lang.String key()