Enum Class Command

java.lang.Object
java.lang.Enum<Command>
sonia.scm.repository.api.Command
All Implemented Interfaces:
Serializable, Comparable<Command>, Constable

public enum Command extends Enum<Command>
Enumeration of available commands.
Since:
1.17
  • Enum Constant Details

    • LOG

      public static final Command LOG
    • BROWSE

      public static final Command BROWSE
    • CAT

      public static final Command CAT
    • DIFF

      public static final Command DIFF
    • BLAME

      public static final Command BLAME
    • TAGS

      public static final Command TAGS
      Since:
      1.18
    • BRANCHES

      public static final Command BRANCHES
      Since:
      1.18
    • INCOMING

      public static final Command INCOMING
      Since:
      1.31
    • OUTGOING

      public static final Command OUTGOING
    • PUSH

      public static final Command PUSH
    • PULL

      public static final Command PULL
    • BUNDLE

      public static final Command BUNDLE
      Since:
      1.43
    • UNBUNDLE

      public static final Command UNBUNDLE
    • MODIFICATIONS

      public static final Command MODIFICATIONS
      Since:
      2.0
    • MERGE

      public static final Command MERGE
    • DIFF_RESULT

      public static final Command DIFF_RESULT
    • BRANCH

      public static final Command BRANCH
    • MODIFY

      public static final Command MODIFY
    • LOOKUP

      public static final Command LOOKUP
      Since:
      2.10.0
    • TAG

      public static final Command TAG
      Since:
      2.11.0
    • FULL_HEALTH_CHECK

      public static final Command FULL_HEALTH_CHECK
      Since:
      2.17.0
    • MIRROR

      public static final Command MIRROR
      Since:
      2.19.0
    • FILE_LOCK

      public static final Command FILE_LOCK
      Since:
      2.26.0
    • BRANCH_DETAILS

      public static final Command BRANCH_DETAILS
      Since:
      2.28.0
    • CHANGESETS

      public static final Command CHANGESETS
      Since:
      2.39.0
  • Method Details

    • values

      public static Command[] 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 Command 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