Enum Class CommandType

java.lang.Object
java.lang.Enum<CommandType>
com.linecorp.centraldogma.server.command.CommandType
All Implemented Interfaces:
Serializable, Comparable<CommandType>, java.lang.constant.Constable

public enum CommandType extends Enum<CommandType>
Types of a Command.
  • Enum Constant Details

    • CREATE_PROJECT

      public static final CommandType CREATE_PROJECT
    • REMOVE_PROJECT

      public static final CommandType REMOVE_PROJECT
    • UNREMOVE_PROJECT

      public static final CommandType UNREMOVE_PROJECT
    • CREATE_REPOSITORY

      public static final CommandType CREATE_REPOSITORY
    • REMOVE_REPOSITORY

      public static final CommandType REMOVE_REPOSITORY
    • UNREMOVE_REPOSITORY

      public static final CommandType UNREMOVE_REPOSITORY
    • NORMALIZING_PUSH

      public static final CommandType NORMALIZING_PUSH
    • PUSH

      public static final CommandType PUSH
    • SAVE_NAMED_QUERY

      public static final CommandType SAVE_NAMED_QUERY
    • REMOVE_NAMED_QUERY

      public static final CommandType REMOVE_NAMED_QUERY
    • SAVE_PLUGIN

      public static final CommandType SAVE_PLUGIN
    • REMOVE_PLUGIN

      public static final CommandType REMOVE_PLUGIN
    • CREATE_SESSION

      public static final CommandType CREATE_SESSION
    • REMOVE_SESSION

      public static final CommandType REMOVE_SESSION
    • PURGE_PROJECT

      public static final CommandType PURGE_PROJECT
    • PURGE_REPOSITORY

      public static final CommandType PURGE_REPOSITORY
    • UPDATE_SERVER_STATUS

      public static final CommandType UPDATE_SERVER_STATUS
    • FORCE_PUSH

      public static final CommandType FORCE_PUSH
  • Method Details

    • values

      public static CommandType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CommandType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • resultType

      public Class<?> resultType()
      Returns the result type of the command.