Enum Class GitRepositoryManager.Status

java.lang.Object
java.lang.Enum<GitRepositoryManager.Status>
com.google.gerrit.server.git.GitRepositoryManager.Status
All Implemented Interfaces:
Serializable, Comparable<GitRepositoryManager.Status>, java.lang.constant.Constable
Enclosing interface:
GitRepositoryManager

public static enum GitRepositoryManager.Status extends Enum<GitRepositoryManager.Status>
Status of the repository.
  • Enum Constant Details

    • ACTIVE

      public static final GitRepositoryManager.Status ACTIVE
      Repository exists and is available on host.
    • NON_EXISTENT

      public static final GitRepositoryManager.Status NON_EXISTENT
      Repository does not exist.
    • UNAVAILABLE

      public static final GitRepositoryManager.Status UNAVAILABLE
      Repository might exist but can not be opened. This can for example be the case when the repository is pending deletion / the caller does not have permissions / repository is broken.
  • Method Details

    • values

      public static GitRepositoryManager.Status[] 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 GitRepositoryManager.Status 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