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