HealthState Enum

  • java.lang.Object
    • java.lang.Enum<HealthState>
      • system.fabric.health.HealthState

public enum HealthState

Represents the Health State of an Entity.

Fields

Error
Invalid
Ok
Unknown
Warning

Methods

get(int value)

public static HealthState get(int value)

Gets the system.fabric.health.HealthState of an entity.

Parameters

value
int
Enum value corresponding to the Health state.

Returns

system.fabric.health.HealthState value.

getValue()

public int getValue()

Get the Health state

Returns

int
Integer value idcating the Health of the entity.

Applies to