Package com.google.gerrit.server.git
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
Status of the repository.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionRepository exists and is available on host.Repository does not exist.Repository might exist but can not be opened.
- 
Method SummaryModifier and TypeMethodDescriptionstatic GitRepositoryManager.StatusReturns the enum constant of this class with the specified name.static GitRepositoryManager.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
ACTIVERepository exists and is available on host.
- 
NON_EXISTENTRepository does not exist.
- 
UNAVAILABLERepository 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- 
valuesReturns 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
 
- 
valueOfReturns 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
 
 
-