Package com.netflix.eureka.registry.rule
Class StatusOverrideResult
- java.lang.Object
-
- com.netflix.eureka.registry.rule.StatusOverrideResult
-
public class StatusOverrideResult extends java.lang.Object
Container for a result computed by anInstanceStatusOverrideRule
. Created by Nikos Michalakis on 7/13/16.
-
-
Field Summary
Fields Modifier and Type Field Description static StatusOverrideResult
NO_MATCH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches()
static StatusOverrideResult
matchingStatus(com.netflix.appinfo.InstanceInfo.InstanceStatus status)
com.netflix.appinfo.InstanceInfo.InstanceStatus
status()
-
-
-
Field Detail
-
NO_MATCH
public static StatusOverrideResult NO_MATCH
-
-
Method Detail
-
matchingStatus
public static StatusOverrideResult matchingStatus(com.netflix.appinfo.InstanceInfo.InstanceStatus status)
-
matches
public boolean matches()
-
status
public com.netflix.appinfo.InstanceInfo.InstanceStatus status()
-
-