public enum WebContainerState extends Enum<WebContainerState>
| Enum Constant and Description |
|---|
FAILED |
RUNNING |
STARTING |
STOPPED |
STOPPING |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static WebContainerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebContainerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebContainerState STOPPED
public static final WebContainerState STARTING
public static final WebContainerState RUNNING
public static final WebContainerState STOPPING
public static final WebContainerState FAILED
public static WebContainerState[] values()
for (WebContainerState c : WebContainerState.values()) System.out.println(c);
public static WebContainerState 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 String getName()
Copyright © 2022. All rights reserved.