public static enum ServiceInstance.Status extends Enum<ServiceInstance.Status>
| Enum Constant and Description |
|---|
ABORTED
The instance startup has been aborted due to an error
and the underlying Docker container is going to be deleted.
|
DISCOVERED
The underlying Docker container has been started
and successfully discovered by the selected DiscoveryProvider
|
STARTED
The underlying Docker container has been started but not discovered yet
|
TERMINATED
The instance has been successfully terminated either because the
test has completed or because there was an error and the previous state
was ABORTED
|
TERMINATION_FAILED
The underlying Docker container could not be terminated,
hence Dockerunit could not cleanup all the started containers.
|
| Modifier and Type | Method and Description |
|---|---|
static ServiceInstance.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceInstance.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceInstance.Status STARTED
public static final ServiceInstance.Status DISCOVERED
public static final ServiceInstance.Status ABORTED
public static final ServiceInstance.Status TERMINATED
public static final ServiceInstance.Status TERMINATION_FAILED
public static ServiceInstance.Status[] values()
for (ServiceInstance.Status c : ServiceInstance.Status.values()) System.out.println(c);
public static ServiceInstance.Status 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 nullCopyright © 2021. All rights reserved.