Package com.zerog.ia.auto.project.rules
Class CompareVariableRule
- java.lang.Object
-
- com.zerog.ia.auto.project.ProjectObject
-
- com.zerog.ia.auto.project.InstallableObject
-
- com.zerog.ia.auto.project.rules.Rule
-
- com.zerog.ia.auto.project.rules.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 Summary
Constructors Constructor Description CompareVariableRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getOperandOne()
Return the set value of operandOne.java.lang.String
getOperandTwo()
Return the set value of operandTwo.java.lang.String
getOperation()
Return the current operation on the operands.void
setOperandOne(java.lang.String operandOne)
Sets this.operandOne to operandOne.void
setOperandTwo(java.lang.String operandTwo)
Sets this.operandTwo to operandTwo.void
setOperation(java.lang.String operation)
Sets the operation to one of the above described operations.-
Methods inherited from class com.zerog.ia.auto.project.InstallableObject
getBelongsToUninstallPhase, getRollbackEnabledCancel, getRollbackEnabledError, getRuleExpression, getRules, getRulesLogicalOperation, getTagsInInstallPiece, setBelongsToUninstallPhase, setRollbackEnabledCancel, setRollbackEnabledError, setRuleExpression, setRulesLogicalOperation, setTagsInInstallPiece
-
Methods inherited from class com.zerog.ia.auto.project.ProjectObject
equals, getReferenceID, hashCode, setReferenceID
-
-
-
-
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).
-
-