java.lang.Object
java.lang.Enum<Command>
com.onlyoffice.model.commandservice.commandrequest.Command
所有已实现的接口:
Serializable, Comparable<Command>, Constable

public enum Command extends Enum<Command>
Defines the command type.
  • 嵌套类概要

    从类继承的嵌套类/接口 java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • 枚举常量概要

    枚举常量
    枚举常量
    说明
    This command allows to delete a forgotten file.
    This command allows to disconnect the specified users from the document editing service.
    This command allows to forcibly save the document being edited without closing it.
    This command allows to request a forgotten file.
    This command allows to request a list of the forgotten files.
    This command allows to request a document status and the list of the identifiers of the users who opened the document for editing.
    This command allows to request the license from Document Server with information about the server and user quota.
    This command allows to update the meta information of the document for all collaborative editors.
    This command allows to request the current version number of Document Server.
  • 方法概要

    修饰符和类型
    方法
    说明
    static Command
    返回带有指定名称的该类的枚举常量。
    static Command[]
    返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同

    从类继承的方法 java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • 枚举常量详细资料

    • DELETE_FORGOTTEN

      public static final Command DELETE_FORGOTTEN
      This command allows to delete a forgotten file.
    • DROP

      public static final Command DROP
      This command allows to disconnect the specified users from the document editing service.
    • FORCESAVE

      public static final Command FORCESAVE
      This command allows to forcibly save the document being edited without closing it.
    • GET_FORGOTTEN

      public static final Command GET_FORGOTTEN
      This command allows to request a forgotten file.
    • GET_FORGOTTEN_LIST

      public static final Command GET_FORGOTTEN_LIST
      This command allows to request a list of the forgotten files.
    • INFO

      public static final Command 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

      public static final Command LICENSE
      This command allows to request the license from Document Server with information about the server and user quota.
    • META

      public static final Command META
      This command allows to update the meta information of the document for all collaborative editors.
    • VERSION

      public static final Command VERSION
      This command allows to request the current version number of Document Server.
  • 方法详细资料

    • values

      public static Command[] values()
      返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
      返回:
      包含该枚举类的常量的数组,顺序与声明这些常量的顺序相同
    • valueOf

      public static Command valueOf(String name)
      返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - 如果该枚举类没有带有指定名称的常量
      NullPointerException - 如果参数为空值