public static enum NetworkConfig.Mode extends Enum<NetworkConfig.Mode>
Enum Constant and Description |
---|
bridge |
container |
custom |
host |
none |
Modifier and Type | Method and Description |
---|---|
static NetworkConfig.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkConfig.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkConfig.Mode none
public static final NetworkConfig.Mode bridge
public static final NetworkConfig.Mode host
public static final NetworkConfig.Mode container
public static final NetworkConfig.Mode custom
public static NetworkConfig.Mode[] values()
for (NetworkConfig.Mode c : NetworkConfig.Mode.values()) System.out.println(c);
public static NetworkConfig.Mode 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.