Package io.dropwizard.health
Class HealthStateView
java.lang.Object
io.dropwizard.health.HealthStateView
- All Implemented Interfaces:
Comparable<HealthStateView>
-
Constructor Summary
ConstructorsConstructorDescriptionHealthStateView(@NotNull String name, boolean healthy, @NotNull HealthCheckType type, boolean critical) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(HealthStateView other) booleangetName()getType()inthashCode()booleanbooleanvoidsetCritical(boolean critical) voidsetHealthy(boolean healthy) voidvoidsetType(HealthCheckType type) toString()
-
Constructor Details
-
HealthStateView
public HealthStateView(@NotNull @NotNull String name, boolean healthy, @NotNull @NotNull HealthCheckType type, boolean critical)
-
-
Method Details
-
getName
-
setName
-
isHealthy
public boolean isHealthy() -
setHealthy
public void setHealthy(boolean healthy) -
getType
-
setType
-
isCritical
public boolean isCritical() -
setCritical
public void setCritical(boolean critical) -
equals
-
hashCode
public int hashCode() -
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<HealthStateView>
-