public enum RemoteRepoApi extends Enum<RemoteRepoApi> implements net.thevpc.nuts.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.
|
public 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 String id()
id in interface net.thevpc.nuts.NutsEnumpublic 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.