public enum RemoteRepoApi extends Enum<RemoteRepoApi> implements NutsEnum
| Enum Constant and Description |
|---|
DEFAULT |
DIR_LIST |
DIR_TEXT |
GITHUB |
MAVEN |
UNSUPPORTED |
| Modifier and Type | Method and Description |
|---|---|
String |
id() |
static RemoteRepoApi |
parseLenient(String value) |
static RemoteRepoApi |
parseLenient(String value,
RemoteRepoApi emptyOrErrorValue) |
static RemoteRepoApi |
parseLenient(String value,
RemoteRepoApi emptyValue,
RemoteRepoApi errorValue) |
static RemoteRepoApi |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RemoteRepoApi[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfparseLenient, parseLenient, parseLenientpublic static final RemoteRepoApi DEFAULT
public static final RemoteRepoApi MAVEN
public static final RemoteRepoApi GITHUB
public static final RemoteRepoApi DIR_TEXT
public static final RemoteRepoApi DIR_LIST
public static final RemoteRepoApi UNSUPPORTED
public static RemoteRepoApi[] values()
for (RemoteRepoApi c : RemoteRepoApi.values()) System.out.println(c);
public static RemoteRepoApi valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static RemoteRepoApi parseLenient(String value)
public static RemoteRepoApi parseLenient(String value, RemoteRepoApi emptyOrErrorValue)
public static RemoteRepoApi parseLenient(String value, RemoteRepoApi emptyValue, RemoteRepoApi errorValue)
Copyright © 2021 vpc open source initiative. All rights reserved.