public enum Command extends Enum<Command>
| Enum Constant and Description |
|---|
DELETE_FORGOTTEN
This command allows to delete a forgotten file.
|
DROP
This command allows to disconnect the specified users from the document editing service.
|
FORCESAVE
This command allows to forcibly save the document being edited without closing it.
|
GET_FORGOTTEN
This command allows to request a forgotten file.
|
GET_FORGOTTEN_LIST
This command allows to request a list of the forgotten files.
|
INFO
This command allows to request a document status and the list of the identifiers
of the users who opened the document for editing.
|
LICENSE
This command allows to request the license from Document Server with information
about the server and user quota.
|
META
This command allows to update the meta information of the document
for all collaborative editors.
|
VERSION
This command allows to request the current version number of Document Server.
|
| Modifier and Type | Method and Description |
|---|---|
static Command |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Command DELETE_FORGOTTEN
public static final Command DROP
public static final Command FORCESAVE
public static final Command GET_FORGOTTEN
public static final Command GET_FORGOTTEN_LIST
public static final Command INFO
public static final Command LICENSE
public static final Command META
public static final Command VERSION
public static Command[] values()
for (Command c : Command.values()) System.out.println(c);
public static Command 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 © 2023–2024. All rights reserved.