public static enum OfficeServer.ServerState extends Enum<OfficeServer.ServerState>
Enum Constant and Description |
---|
CONF_ERROR
Configuration error.
|
CONNECTED
Connected.
|
ERROR
Error.
|
NOT_CONNECTED
Not connected.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static OfficeServer.ServerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OfficeServer.ServerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OfficeServer.ServerState CONNECTED
public static final OfficeServer.ServerState NOT_CONNECTED
public static final OfficeServer.ServerState CONF_ERROR
public static final OfficeServer.ServerState ERROR
public static OfficeServer.ServerState[] values()
for (OfficeServer.ServerState c : OfficeServer.ServerState.values()) System.out.println(c);
public static OfficeServer.ServerState 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<OfficeServer.ServerState>
Copyright © 2004–2021 XWiki. All rights reserved.