|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Resolver
Interface for an entity that resolves an artifact. The artifact must be in
the form of:
groupId:artifactId[:classifier]:version
The Resolver will also download and install the resolved artifact(s) and their dependencies (including transitive dependencies) if instructed to.
| Method Summary | |
|---|---|
String[] |
getClassPathFor(String artifact,
File pom,
boolean download)
Get the classpath for an artifact, and resolve (download) the artifact and it's dependencies if needed. |
String[] |
getClassPathFor(String artifact,
RemoteRepository[] repositories,
boolean download)
Get the classpath for an artifact, and resolve (download) the artifact and it's dependencies if needed. |
URL |
getLocation(String artifact,
String artifactType,
File pom)
Get the location of the artifact |
Collection<RemoteRepository> |
getRemoteRepositories()
Get the @{link RemoteRepository} instances the Resolver is using |
| Method Detail |
|---|
String[] getClassPathFor(String artifact,
File pom,
boolean download)
artifact - The artifact string.pom - The artifact pomdownload - If true, download and install the resolved elements
String[] getClassPathFor(String artifact,
RemoteRepository[] repositories,
boolean download)
artifact - The artifact string.repositories - Array of repositories to use to resolve the artifactdownload - If true, download and install the resolved elements
URL getLocation(String artifact,
String artifactType,
File pom)
artifact - The artifact string.artifactType - The type of artifact. Typically either "jar" or
"oar". If null (or empty string), "jar" is used. This is used to
determine the filename extension of the artifact to locate.pom - The artifact pom
Collection<RemoteRepository> getRemoteRepositories()
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||