public enum ServerMode extends Enum<ServerMode>
Enum Constant and Description |
---|
BACKUP
This is a backup of a production server
|
PRODUCTION
This is a production server
|
TEST
This is a test server
|
UNKNOWN
This server is in an unknown mode, no value has been set in alfresco-global.properties
|
Modifier and Type | Method and Description |
---|---|
static ServerMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerMode UNKNOWN
public static final ServerMode TEST
public static final ServerMode BACKUP
public static final ServerMode PRODUCTION
public static ServerMode[] values()
for (ServerMode c : ServerMode.values()) System.out.println(c);
public static ServerMode 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 © 2005–2017 Alfresco Software. All rights reserved.