Class FeatureStateModel
java.lang.Object
com.flagsmith.utils.models.BaseModel
com.flagsmith.flagengine.features.FeatureStateModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value object.booleanAnother FeatureStateModel is deemed to be higher priority if and only if it has a FeatureSegment and either this.FeatureSegment is null or the value of other.FeatureSegment.priority is lower than that of this.FeatureSegment.priority.
-
Constructor Details
-
FeatureStateModel
public FeatureStateModel()
-
-
Method Details
-
getValue
Returns the value object.- Parameters:
identityId- Identity ID
-
equals
-
isHigherPriority
Another FeatureStateModel is deemed to be higher priority if and only if it has a FeatureSegment and either this.FeatureSegment is null or the value of other.FeatureSegment.priority is lower than that of this.FeatureSegment.priority.- Parameters:
other- the other FeatureStateModel to compare priority with- Returns:
- true if `this` is higher priority than `other`
-