public static enum ResolutionRequest.Strategy extends java.lang.Enum<ResolutionRequest.Strategy>
ResolutionRequest is satisfied by.| Enum Constant and Description |
|---|
GIT
Satisfied by
SourceBuilds.buildFromGit(String, String). |
RELEASE
Satisfied by
Releases.downloadJar(String, String, String). |
SOURCE
|
URL
Satisfied by a
Downloads capability, given ResolutionRequest.getJarUrl() and ResolutionRequest.getHeaders(). |
| Modifier and Type | Method and Description |
|---|---|
static ResolutionRequest.Strategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResolutionRequest.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResolutionRequest.Strategy RELEASE
Releases.downloadJar(String, String, String).public static final ResolutionRequest.Strategy SOURCE
public static final ResolutionRequest.Strategy GIT
SourceBuilds.buildFromGit(String, String).public static final ResolutionRequest.Strategy URL
Downloads capability, given ResolutionRequest.getJarUrl() and ResolutionRequest.getHeaders().public static ResolutionRequest.Strategy[] values()
for (ResolutionRequest.Strategy c : ResolutionRequest.Strategy.values()) System.out.println(c);
public static ResolutionRequest.Strategy 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 null