public enum ActorState extends Enum<ActorState>
| Enum Constant and Description |
|---|
ALIVE |
DEAD |
DEPENDENCIES_UNREADY |
PENDING_CREATION |
RESTARTING |
| Modifier and Type | Method and Description |
|---|---|
static ActorState |
fromValue(int value) |
String |
getName() |
int |
getValue() |
static ActorState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActorState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActorState DEPENDENCIES_UNREADY
public static final ActorState PENDING_CREATION
public static final ActorState ALIVE
public static final ActorState RESTARTING
public static final ActorState DEAD
public static ActorState[] values()
for (ActorState c : ActorState.values()) System.out.println(c);
public static ActorState 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 ActorState fromValue(int value)
public String getName()
public int getValue()
Copyright © 2024. All rights reserved.