public static enum RepositoryApiConfiguration.RepoType extends java.lang.Enum<RepositoryApiConfiguration.RepoType>
Enum Constant and Description |
---|
FILESYSTEM |
MONGODB |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTypeValue() |
boolean |
isFilesystem() |
boolean |
isMongoDB() |
static RepositoryApiConfiguration.RepoType |
parseType(java.lang.String typeValue) |
static RepositoryApiConfiguration.RepoType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryApiConfiguration.RepoType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepositoryApiConfiguration.RepoType FILESYSTEM
public static final RepositoryApiConfiguration.RepoType MONGODB
public static RepositoryApiConfiguration.RepoType[] values()
for (RepositoryApiConfiguration.RepoType c : RepositoryApiConfiguration.RepoType.values()) System.out.println(c);
public static RepositoryApiConfiguration.RepoType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getTypeValue()
public static RepositoryApiConfiguration.RepoType parseType(java.lang.String typeValue)
public boolean isFilesystem()
public boolean isMongoDB()