EvaluationReason.getKind()
instead and check
for the EvaluationReason.Kind.PREREQUISITE_FAILED
value.@Deprecated public static class EvaluationReason.PrerequisiteFailed extends EvaluationReason
EvaluationReason
that indicates that the flag was considered off because it
had at least one prerequisite flag that either was off or did not return the desired variation.EvaluationReason.Error, EvaluationReason.ErrorKind, EvaluationReason.Fallthrough, EvaluationReason.Kind, EvaluationReason.Off, EvaluationReason.PrerequisiteFailed, EvaluationReason.RuleMatch, EvaluationReason.TargetMatch
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Deprecated.
|
java.lang.String |
getPrerequisiteKey()
Deprecated.
The key of the prerequisite flag that did not return the desired variation.
|
int |
hashCode()
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
error, exception, fallthrough, getErrorKind, getException, getKind, getRuleId, getRuleIndex, off, prerequisiteFailed, ruleMatch, targetMatch
public java.lang.String getPrerequisiteKey()
getPrerequisiteKey
in class EvaluationReason
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class EvaluationReason