Class AlertEngine.BinaryExpression

    • Constructor Detail

      • BinaryExpression

        public BinaryExpression​(String metadata1,
                                Expression.Operator operator,
                                String metadata2)
        Creates the comparison Expression.
        Parameters:
        metadata1 - the first metadata name.
        operator - the operator to make the comparison
        metadata2 - the second metadata name.
      • BinaryExpression

        public BinaryExpression​(String metadata1,
                                ExpressionContext context1,
                                Expression.Operator operator,
                                String metadata2,
                                ExpressionContext context2)
        Creates the comparison Expression.
        Parameters:
        metadata1 - the first metadata name.
        context1 - context of the expression for the first metadata
        operator - the operator to make the comparison.
        metadata2 - the second metadata name.
        context2 - context of the expression for the second metadata
    • Method Detail

      • build

        public String build()
        Description copied from interface: Expression
        Build the expression.
        Specified by:
        build in interface Expression
        Returns:
        The XPath view of the expression.