public enum ContainerStatus extends Enum<ContainerStatus>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isStarted() |
boolean |
isStarting() |
boolean |
isStopped() |
static ContainerStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContainerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContainerStatus STARTING
public static final ContainerStatus STARTED
public static final ContainerStatus STOPPED
public static ContainerStatus[] values()
for (ContainerStatus c : ContainerStatus.values()) System.out.println(c);
public static ContainerStatus 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 boolean isStarting()
public boolean isStarted()
public boolean isStopped()
Copyright © 2014 JBoss by Red Hat. All rights reserved.