Package com.google.gerrit.server.git
Enum GitRepositoryManager.Status
- java.lang.Object
- 
- java.lang.Enum<GitRepositoryManager.Status>
- 
- com.google.gerrit.server.git.GitRepositoryManager.Status
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<GitRepositoryManager.Status>
 - Enclosing interface:
- GitRepositoryManager
 
 public static enum GitRepositoryManager.Status extends Enum<GitRepositoryManager.Status> Status of the repository.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ACTIVERepository exists and is available on host.NON_EXISTENTRepository does not exist.UNAVAILABLERepository might exist but can not be opened.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static GitRepositoryManager.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static GitRepositoryManager.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
ACTIVEpublic static final GitRepositoryManager.Status ACTIVE Repository exists and is available on host.
 - 
NON_EXISTENTpublic static final GitRepositoryManager.Status NON_EXISTENT Repository does not exist.
 - 
UNAVAILABLEpublic 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 Detail- 
valuespublic static GitRepositoryManager.Status[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GitRepositoryManager.Status c : GitRepositoryManager.Status.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static GitRepositoryManager.Status valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
- 
 
-