HealthState 枚举

定义

Represents the Health State of an Entity.

public enum HealthState
继承
java.lang.Object
java.lang.Enum<HealthState>
HealthState

字段

Error
Invalid
Ok
Unknown
Warning

方法

get(int value)

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

public static HealthState get(int value)

参数

value
int

Enum value corresponding to the Health state.

返回

system.fabric.health.HealthState value.

getValue()

Get the Health state

public int getValue()

参数

value
int

Enum value corresponding to the Health state.

返回

int

Integer value idcating the Health of the entity.

适用于