EvaluationReason.getKind()
instead and check
for the EvaluationReason.Kind.RULE_MATCH
value.@Deprecated public static class EvaluationReason.RuleMatch extends EvaluationReason
EvaluationReason
that indicates that the user matched one of the flag's rules.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 |
getRuleId()
Deprecated.
A unique string identifier for the matched rule, which will not change if other rules are added or deleted.
|
int |
getRuleIndex()
Deprecated.
The index of the rule that was matched (0 for the first rule in the feature flag).
|
int |
hashCode()
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
error, exception, fallthrough, getErrorKind, getException, getKind, getPrerequisiteKey, off, prerequisiteFailed, ruleMatch, targetMatch
public int getRuleIndex()
getRuleIndex
in class EvaluationReason
public java.lang.String getRuleId()
getRuleId
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