public enum RepositoryType extends Enum<RepositoryType>
| Enum Constant and Description |
|---|
MAIN
RemoteRepository used for downloading project dependencies
|
PLUGIN
RemoteRepository used for downloading plugins and their dependencies.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRequestContext() |
static RepositoryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepositoryType MAIN
public static final RepositoryType PLUGIN
public static RepositoryType[] values()
for (RepositoryType c : RepositoryType.values()) System.out.println(c);
public static RepositoryType 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 getRequestContext()
Copyright © 2018–2020 QAware GmbH. All rights reserved.