public enum PropagationMode extends Enum<PropagationMode>
shared
, slave
or private
.https://github.com/docker/docker/pull/17034
Enum Constant and Description |
---|
DEFAULT
default
|
PRIVATE
private
|
SHARED
shared
|
SLAVE
slave
|
Modifier and Type | Field and Description |
---|---|
static PropagationMode |
DEFAULT_MODE
The default
PropagationMode : DEFAULT |
Modifier and Type | Method and Description |
---|---|
static PropagationMode |
fromString(String v) |
String |
toString() |
static PropagationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropagationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropagationMode DEFAULT
public static final PropagationMode SHARED
public static final PropagationMode SLAVE
public static final PropagationMode PRIVATE
public static final PropagationMode DEFAULT_MODE
PropagationMode
: DEFAULT
public static PropagationMode[] values()
for (PropagationMode c : PropagationMode.values()) System.out.println(c);
public static PropagationMode 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 toString()
toString
in class Enum<PropagationMode>
public static PropagationMode fromString(String v)
Copyright © 2020. All rights reserved.