public enum FaultState extends Enum<FaultState> implements HasName
| Enum Constant and Description |
|---|
ACTIVE |
CLEARED |
INACTIVE |
NONE |
PENDING |
| Modifier and Type | Method and Description |
|---|---|
static FaultState |
findOrDefault(String name) |
String |
getName() |
static FaultState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FaultState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FaultState NONE
public static final FaultState PENDING
public static final FaultState ACTIVE
public static final FaultState CLEARED
public static final FaultState INACTIVE
public static FaultState[] values()
for (FaultState c : FaultState.values()) System.out.println(c);
public static FaultState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static FaultState findOrDefault(String name)
Copyright © 2023. All rights reserved.