public static enum Container.ContainerType extends Enum<Container.ContainerType>
Enum Constant and Description |
---|
LAUNCH |
RECOVER_FULL |
RECOVER_PARTIAL |
Modifier and Type | Method and Description |
---|---|
void |
assertFull() |
boolean |
isOnlyKillable() |
boolean |
isRecovery() |
static Container.ContainerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Container.ContainerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Container.ContainerType LAUNCH
public static final Container.ContainerType RECOVER_FULL
public static final Container.ContainerType RECOVER_PARTIAL
public static Container.ContainerType[] values()
for (Container.ContainerType c : Container.ContainerType.values()) System.out.println(c);
public static Container.ContainerType 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 isRecovery()
public void assertFull()
public boolean isOnlyKillable()
Copyright © 2019 The Apache Software Foundation. All rights reserved.