Modifier and Type | Method and Description |
---|---|
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 |
RepositoryCache.get(RepositorySystemSession session,
Object key)
Gets the specified data from the cache.
|
static boolean |
ConfigurationProperties.get(RepositorySystemSession session,
String key,
boolean defaultValue)
Deprecated.
As of version 1.12, use
org.sonatype.aether.util.ConfigUtils instead. |
static int |
ConfigurationProperties.get(RepositorySystemSession session,
String key,
int defaultValue)
Deprecated.
As of version 1.12, use
org.sonatype.aether.util.ConfigUtils instead. |
static String |
ConfigurationProperties.get(RepositorySystemSession session,
String key,
String defaultValue)
Deprecated.
As of version 1.12, use
org.sonatype.aether.util.ConfigUtils instead. |
InstallResult |
RepositorySystem.install(RepositorySystemSession session,
InstallRequest request)
Installs a collection of artifacts and their accompanying metadata to the local repository.
|
SyncContext |
RepositorySystem.newSyncContext(RepositorySystemSession session,
boolean shared)
Creates a new synchronization context.
|
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 paths for an artifact.
|
List<ArtifactResult> |
RepositorySystem.resolveArtifacts(RepositorySystemSession session,
Collection<? extends ArtifactRequest> requests)
Resolves the paths for a collection of artifacts.
|
List<ArtifactResult> |
RepositorySystem.resolveDependencies(RepositorySystemSession session,
CollectRequest request,
DependencyFilter filter)
Deprecated.
As of version 1.11, use
RepositorySystem.resolveDependencies(RepositorySystemSession, DependencyRequest)
instead. |
List<ArtifactResult> |
RepositorySystem.resolveDependencies(RepositorySystemSession session,
DependencyNode node,
DependencyFilter filter)
Deprecated.
As of version 1.11, use
RepositorySystem.resolveDependencies(RepositorySystemSession, DependencyRequest)
instead. |
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.
|
Modifier and Type | Method and Description |
---|---|
RepositorySystemSession |
DependencyCollectionContext.getSession()
Gets the repository system session during which the dependency collection happens.
|
RepositorySystemSession |
DependencyGraphTransformationContext.getSession()
Gets the repository system session during which the graph transformation happens.
|
Modifier and Type | Method and Description |
---|---|
RepositoryConnector |
AsyncRepositoryConnectorFactory.newInstance(RepositorySystemSession session,
RemoteRepository repository) |
Modifier and Type | Method and Description |
---|---|
RepositoryConnector |
FileRepositoryConnectorFactory.newInstance(RepositorySystemSession session,
RemoteRepository repository) |
Constructor and Description |
---|
FileRepositoryConnector(RepositorySystemSession session,
RemoteRepository repository,
FileProcessor fileProcessor,
Logger logger) |
Modifier and Type | Method and Description |
---|---|
RepositoryConnector |
WagonRepositoryConnectorFactory.newInstance(RepositorySystemSession session,
RemoteRepository repository) |
Modifier and Type | Method and Description |
---|---|
RepositorySystemSession |
LocalRepositoryEvent.getSession()
Deprecated.
Gets the repository session from which this event originates.
|
Modifier and Type | Method and Description |
---|---|
List<RemoteRepository> |
RemoteRepositoryManager.aggregateRepositories(RepositorySystemSession session,
List<RemoteRepository> dominantRepositories,
List<RemoteRepository> recessiveRepositories,
boolean recessiveIsRaw) |
void |
UpdateCheckManager.checkArtifact(RepositorySystemSession session,
UpdateCheck<Artifact,ArtifactTransferException> check)
Checks whether an artifact has to be updated from a remote repository.
|
void |
UpdateCheckManager.checkMetadata(RepositorySystemSession session,
UpdateCheck<Metadata,MetadataTransferException> check)
Checks whether metadata has to be updated from a remote repository.
|
CollectResult |
DependencyCollector.collectDependencies(RepositorySystemSession session,
CollectRequest request) |
DeployResult |
Deployer.deploy(RepositorySystemSession session,
DeployRequest request)
Uploads a collection of artifacts and their accompanying metadata to a remote repository.
|
String |
UpdateCheckManager.getEffectiveUpdatePolicy(RepositorySystemSession session,
String policy1,
String policy2)
Returns the policy with the shorter update interval.
|
RepositoryPolicy |
RemoteRepositoryManager.getPolicy(RepositorySystemSession session,
RemoteRepository repository,
boolean releases,
boolean snapshots) |
RepositoryConnector |
RemoteRepositoryManager.getRepositoryConnector(RepositorySystemSession session,
RemoteRepository repository) |
InstallResult |
Installer.install(RepositorySystemSession session,
InstallRequest request)
Installs a collection of artifacts and their accompanying metadata to the local repository.
|
boolean |
UpdateCheckManager.isUpdatedRequired(RepositorySystemSession session,
long lastModified,
String policy)
Determines whether the specified modification timestamp satisfies the freshness constraint expressed by the given
update policy.
|
SyncContext |
SyncContextFactory.newInstance(RepositorySystemSession session,
boolean shared)
Creates a new synchronization context.
|
MetadataGenerator |
MetadataGeneratorFactory.newInstance(RepositorySystemSession session,
DeployRequest request)
Creates a new metadata generator for the specified deploy request.
|
MetadataGenerator |
MetadataGeneratorFactory.newInstance(RepositorySystemSession session,
InstallRequest request)
Creates a new metadata generator for the specified install request.
|
ArtifactDescriptorResult |
ArtifactDescriptorReader.readArtifactDescriptor(RepositorySystemSession session,
ArtifactDescriptorRequest request)
Gets information about an artifact like its direct dependencies.
|
ArtifactResult |
ArtifactResolver.resolveArtifact(RepositorySystemSession session,
ArtifactRequest request)
Resolves the path for an artifact.
|
List<ArtifactResult> |
ArtifactResolver.resolveArtifacts(RepositorySystemSession session,
Collection<? extends ArtifactRequest> requests)
Resolves the paths for a collection of artifacts.
|
List<MetadataResult> |
MetadataResolver.resolveMetadata(RepositorySystemSession session,
Collection<? extends MetadataRequest> requests)
Resolves the paths for a collection of metadata.
|
VersionResult |
VersionResolver.resolveVersion(RepositorySystemSession session,
VersionRequest request)
Resolves an artifact's meta version (if any) to a concrete version.
|
VersionRangeResult |
VersionRangeResolver.resolveVersionRange(RepositorySystemSession session,
VersionRangeRequest request)
Expands a version range to a list of matching versions, in ascending order.
|
void |
UpdateCheckManager.touchArtifact(RepositorySystemSession session,
UpdateCheck<Artifact,ArtifactTransferException> check)
Updates the timestamp for the artifact contained in the update check.
|
void |
UpdateCheckManager.touchMetadata(RepositorySystemSession session,
UpdateCheck<Metadata,MetadataTransferException> check)
Updates the timestamp for the metadata contained in the update check.
|
Modifier and Type | Method and Description |
---|---|
RepositorySystemSession |
DefaultLocalRepositoryEvent.getSession() |
Constructor and Description |
---|
DefaultLocalRepositoryEvent(LocalRepositoryEvent.EventType type,
RepositorySystemSession session,
Artifact artifact,
File file) |
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.
|
Modifier and Type | Method and Description |
---|---|
RepositoryConnector |
RepositoryConnectorFactory.newInstance(RepositorySystemSession session,
RemoteRepository repository)
Tries to create a repository connector for the specified remote repository.
|
Modifier and Type | Class and Description |
---|---|
class |
TestRepositorySystemSession |
Modifier and Type | Method and Description |
---|---|
void |
TestLocalRepositoryManager.add(RepositorySystemSession session,
LocalArtifactRegistration request) |
void |
TestLocalRepositoryManager.add(RepositorySystemSession session,
LocalMetadataRegistration request) |
LocalArtifactResult |
TestLocalRepositoryManager.find(RepositorySystemSession session,
LocalArtifactRequest request) |
LocalMetadataResult |
TestLocalRepositoryManager.find(RepositorySystemSession session,
LocalMetadataRequest request) |
Modifier and Type | Method and Description |
---|---|
ArtifactDescriptorResult |
IniArtifactDescriptorReader.readArtifactDescriptor(RepositorySystemSession session,
ArtifactDescriptorRequest request)
Parses the resource
$prefix/gid_aid_ext_ver.ini from the request artifact as an artifact description
and wraps it into an ArtifactDescriptorResult. |
Modifier and Type | Method and Description |
---|---|
RepositorySystemSession |
ConnectorTestContext.getSession() |
Modifier and Type | Method and Description |
---|---|
void |
ConnectorTestContext.setSession(RepositorySystemSession session) |
Constructor and Description |
---|
ConnectorTestContext(RemoteRepository repository,
RepositorySystemSession session) |
Modifier and Type | Method and Description |
---|---|
void |
ConnectorTestSetup.after(RepositorySystemSession session,
RemoteRepository repository,
Map<String,Object> context)
This method is called after each test of the bundle is executed.
|
void |
ConnectorTestSetup.AbstractConnectorTestSetup.after(RepositorySystemSession session,
RemoteRepository repository,
Map<String,Object> context) |
RemoteRepository |
ConnectorTestSetup.before(RepositorySystemSession session,
Map<String,Object> context)
This method is called before each test run.
|
Map<String,Object> |
ConnectorTestSetup.beforeClass(RepositorySystemSession session)
This method is called before the first test of the bundle is executed.
|
Map<String,Object> |
ConnectorTestSetup.AbstractConnectorTestSetup.beforeClass(RepositorySystemSession session) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultRepositorySystemSession
A simple repository system session.
|
class |
FilterRepositorySystemSession
A repository system session that wraps another session.
|
Modifier and Type | Field and Description |
---|---|
protected RepositorySystemSession |
FilterRepositorySystemSession.session |
Modifier and Type | Method and Description |
---|---|
Object |
DefaultRepositoryCache.get(RepositorySystemSession session,
Object key) |
static boolean |
ConfigUtils.getBoolean(RepositorySystemSession session,
boolean defaultValue,
String... keys)
Gets the specified configuration property.
|
static int |
ConfigUtils.getInteger(RepositorySystemSession session,
int defaultValue,
String... keys)
Gets the specified configuration property.
|
static List<?> |
ConfigUtils.getList(RepositorySystemSession session,
List<?> defaultValue,
String... keys)
Gets the specified configuration property.
|
static long |
ConfigUtils.getLong(RepositorySystemSession session,
long defaultValue,
String... keys)
Gets the specified configuration property.
|
static Map<?,?> |
ConfigUtils.getMap(RepositorySystemSession session,
Map<?,?> defaultValue,
String... keys)
Gets the specified configuration property.
|
static Object |
ConfigUtils.getObject(RepositorySystemSession session,
Object defaultValue,
String... keys)
Gets the specified configuration property.
|
static String |
ConfigUtils.getString(RepositorySystemSession session,
String defaultValue,
String... keys)
Gets the specified configuration property.
|
void |
DefaultRepositoryCache.put(RepositorySystemSession session,
Object key,
Object data) |
Constructor and Description |
---|
DefaultRepositorySystemSession(RepositorySystemSession session)
Creates a shallow copy of the specified session.
|
FilterRepositorySystemSession(RepositorySystemSession session)
Creates a new repository system session that wraps the specified session.
|
Modifier and Type | Method and Description |
---|---|
RepositorySystemSession |
DefaultRepositoryEvent.getSession() |
Constructor and Description |
---|
DefaultRepositoryEvent(RepositoryEvent.EventType type,
RepositorySystemSession session)
Deprecated.
As of version 1.11, use
DefaultRepositoryEvent.DefaultRepositoryEvent(org.sonatype.aether.RepositoryEvent.EventType, RepositorySystemSession, RequestTrace)
instead. |
DefaultRepositoryEvent(RepositoryEvent.EventType type,
RepositorySystemSession session,
RequestTrace trace)
Creates a new event with the specified properties.
|
Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.