Class CompareVariableRule

  • All Implemented Interfaces:
    Referenceable
    Direct Known Subclasses:
    CompareRegularExpressionRule

    public class CompareVariableRule
    extends Rule
    Allows developers to make a simple string comparison of any InstallAnywhere variable. Developers can check if a variable equals, does not equal, contains, or does not contain a value.
    • Constructor Detail

      • CompareVariableRule

        public CompareVariableRule()
    • Method Detail

      • setOperandOne

        public void setOperandOne​(java.lang.String operandOne)
        Sets this.operandOne to operandOne.
      • setOperandTwo

        public void setOperandTwo​(java.lang.String operandTwo)
        Sets this.operandTwo to operandTwo.
      • setOperation

        public void setOperation​(java.lang.String operation)
        Sets the operation to one of the above described operations. See the javadoc documentation.
      • getOperandOne

        public java.lang.String getOperandOne()
        Return the set value of operandOne. Will be "" if unset.
      • getOperandTwo

        public java.lang.String getOperandTwo()
        Return the set value of operandTwo. Will be "" if unset.
      • getOperation

        public java.lang.String getOperation()
        Return the current operation on the operands. All operations are left to right (eg: operandOne contains operandTwo).