Package | Description |
---|---|
org.eclipse.aether |
The primary API of the
RepositorySystem and its functionality. |
org.eclipse.aether.collection |
The types and extension points for collecting the transitive dependencies of an artifact and building a dependency
graph.
|
org.eclipse.aether.repository |
The definition of various kinds of repositories that host artifacts.
|
org.eclipse.aether.resolution |
The types supporting the resolution of artifacts and metadata from repositories.
|
org.eclipse.aether.transfer |
A listener and various exception types dealing with the transfer of a resource between the local system and a remote
repository.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractForwardingRepositorySystemSession
A special repository system session to enable decorating or proxying another session.
|
class |
DefaultRepositorySystemSession
A simple repository system session.
|
Modifier and Type | Method and Description |
---|---|
protected abstract RepositorySystemSession |
AbstractForwardingRepositorySystemSession.getSession()
Gets the repository system session to which this instance forwards calls.
|
RepositorySystemSession |
RepositoryEvent.getSession()
Gets the repository system session during which the event occurred.
|
Modifier and Type | Method and Description |
---|---|
CollectResult |
RepositorySystem.collectDependencies(RepositorySystemSession session,
CollectRequest request)
Collects the transitive dependencies of an artifact and builds a dependency graph.
|
DeployResult |
RepositorySystem.deploy(RepositorySystemSession session,
DeployRequest request)
Uploads a collection of artifacts and their accompanying metadata to a remote repository.
|
Object |
DefaultRepositoryCache.get(RepositorySystemSession session,
Object key) |
Object |
RepositoryCache.get(RepositorySystemSession session,
Object key)
Gets the specified data from the cache.
|
InstallResult |
RepositorySystem.install(RepositorySystemSession session,
InstallRequest request)
Installs a collection of artifacts and their accompanying metadata to the local repository.
|
RemoteRepository |
RepositorySystem.newDeploymentRepository(RepositorySystemSession session,
RemoteRepository repository)
Forms a remote repository suitable for artifact deployment by applying the session's authentication selector and
similar network configuration to the given repository prototype.
|
LocalRepositoryManager |
RepositorySystem.newLocalRepositoryManager(RepositorySystemSession session,
LocalRepository localRepository)
Creates a new manager for the specified local repository.
|
List<RemoteRepository> |
RepositorySystem.newResolutionRepositories(RepositorySystemSession session,
List<RemoteRepository> repositories)
Forms remote repositories suitable for artifact resolution by applying the session's authentication selector and
similar network configuration to the given repository prototypes.
|
SyncContext |
RepositorySystem.newSyncContext(RepositorySystemSession session,
boolean shared)
Creates a new synchronization context.
|
void |
DefaultRepositoryCache.put(RepositorySystemSession session,
Object key,
Object data) |
void |
RepositoryCache.put(RepositorySystemSession session,
Object key,
Object data)
Puts the specified data into the cache.
|
ArtifactDescriptorResult |
RepositorySystem.readArtifactDescriptor(RepositorySystemSession session,
ArtifactDescriptorRequest request)
Gets information about an artifact like its direct dependencies and potential relocations.
|
ArtifactResult |
RepositorySystem.resolveArtifact(RepositorySystemSession session,
ArtifactRequest request)
Resolves the path for an artifact.
|
List<ArtifactResult> |
RepositorySystem.resolveArtifacts(RepositorySystemSession session,
Collection<? extends ArtifactRequest> requests)
Resolves the paths for a collection of artifacts.
|
DependencyResult |
RepositorySystem.resolveDependencies(RepositorySystemSession session,
DependencyRequest request)
Collects and resolves the transitive dependencies of an artifact.
|
List<MetadataResult> |
RepositorySystem.resolveMetadata(RepositorySystemSession session,
Collection<? extends MetadataRequest> requests)
Resolves the paths for a collection of metadata.
|
VersionResult |
RepositorySystem.resolveVersion(RepositorySystemSession session,
VersionRequest request)
Resolves an artifact's meta version (if any) to a concrete version.
|
VersionRangeResult |
RepositorySystem.resolveVersionRange(RepositorySystemSession session,
VersionRangeRequest request)
Expands a version range to a list of matching versions, in ascending order.
|
Constructor and Description |
---|
DefaultRepositorySystemSession(RepositorySystemSession session)
Creates a shallow copy of the specified session.
|
RepositoryEvent.Builder(RepositorySystemSession session,
RepositoryEvent.EventType type)
Creates a new event builder for the specified session and event type.
|
Modifier and Type | Method and Description |
---|---|
RepositorySystemSession |
DependencyCollectionContext.getSession()
Gets the repository system session during which the dependency collection happens.
|
RepositorySystemSession |
VersionFilter.VersionFilterContext.getSession()
Gets the repository system session during which the version filtering happens.
|
RepositorySystemSession |
DependencyGraphTransformationContext.getSession()
Gets the repository system session during which the graph transformation happens.
|
Modifier and Type | Method and Description |
---|---|
RepositorySystemSession |
AuthenticationContext.getSession()
Gets the repository system session during which the authentication happens.
|
RepositorySystemSession |
AuthenticationDigest.getSession()
Gets the repository system session during which the authentication fingerprint is calculated.
|
Modifier and Type | Method and Description |
---|---|
void |
LocalRepositoryManager.add(RepositorySystemSession session,
LocalArtifactRegistration request)
Registers an installed or resolved artifact with the local repository.
|
void |
LocalRepositoryManager.add(RepositorySystemSession session,
LocalMetadataRegistration request)
Registers installed or resolved metadata with the local repository.
|
LocalArtifactResult |
LocalRepositoryManager.find(RepositorySystemSession session,
LocalArtifactRequest request)
Queries for the existence of an artifact in the local repository.
|
LocalMetadataResult |
LocalRepositoryManager.find(RepositorySystemSession session,
LocalMetadataRequest request)
Queries for the existence of metadata in the local repository.
|
static AuthenticationContext |
AuthenticationContext.forProxy(RepositorySystemSession session,
RemoteRepository repository)
Gets an authentication context for the proxy of the specified repository.
|
static String |
AuthenticationDigest.forProxy(RepositorySystemSession session,
RemoteRepository repository)
Gets the fingerprint for the authentication of the specified repository's proxy.
|
static AuthenticationContext |
AuthenticationContext.forRepository(RepositorySystemSession session,
RemoteRepository repository)
Gets an authentication context for the specified repository.
|
static String |
AuthenticationDigest.forRepository(RepositorySystemSession session,
RemoteRepository repository)
Gets the fingerprint for the authentication of the specified repository.
|
Modifier and Type | Method and Description |
---|---|
int |
ResolutionErrorPolicy.getArtifactPolicy(RepositorySystemSession session,
ResolutionErrorPolicyRequest<Artifact> request)
Gets the error policy for an artifact.
|
int |
ResolutionErrorPolicy.getMetadataPolicy(RepositorySystemSession session,
ResolutionErrorPolicyRequest<Metadata> request)
Gets the error policy for some metadata.
|
int |
ArtifactDescriptorPolicy.getPolicy(RepositorySystemSession session,
ArtifactDescriptorPolicyRequest request)
Gets the error policy for an artifact's descriptor.
|
Modifier and Type | Method and Description |
---|---|
RepositorySystemSession |
TransferEvent.getSession()
Gets the repository system session during which the event occurred.
|
Constructor and Description |
---|
TransferEvent.Builder(RepositorySystemSession session,
TransferResource resource)
Creates a new transfer event builder for the specified session and the given resource.
|
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.