Class ConditionReference
java.lang.Object
software.amazon.smithy.rulesengine.logic.ConditionReference
A reference to a condition and whether it is negated.
-
Constructor Details
-
ConditionReference
-
-
Method Details
-
isNegated
public boolean isNegated()Returns true if this condition is negated (e.g., wrapped in not).- Returns:
- true if negated.
-
negate
Create a negated version of this reference.- Returns:
- returns the negated reference.
-
getCondition
Get the underlying condition.- Returns:
- condition.
-
toString
-
equals
-
hashCode
public int hashCode()
-