public interface RepositorySystemSession
| Modifier and Type | Method and Description |
|---|---|
ArtifactTypeRegistry |
getArtifactTypeRegistry()
Gets the registry of artifact types recognized by this session.
|
AuthenticationSelector |
getAuthenticationSelector()
Gets the authentication selector to use for repositories discovered in artifact descriptors.
|
RepositoryCache |
getCache()
Gets the cache the repository system may use to save data for future reuse during the session.
|
String |
getChecksumPolicy()
Gets the global checksum policy.
|
Map<String,Object> |
getConfigProperties()
Gets the configuration properties used to tweak internal aspects of the repository system (e.g. thread pooling,
connector-specific behavior, etc.)
|
SessionData |
getData()
Gets the custom data associated with this session.
|
DependencyGraphTransformer |
getDependencyGraphTransformer()
Gets the dependency graph transformer to use for building dependency graphs.
|
DependencyManager |
getDependencyManager()
Gets the dependency manager to use for building dependency graphs.
|
DependencySelector |
getDependencySelector()
Gets the dependency selector to use for building dependency graphs.
|
DependencyTraverser |
getDependencyTraverser()
Gets the dependency traverser to use for building dependency graphs.
|
LocalRepository |
getLocalRepository()
Gets the local repository used during this session.
|
LocalRepositoryManager |
getLocalRepositoryManager()
Gets the local repository manager used during this session.
|
MirrorSelector |
getMirrorSelector()
Gets the mirror selector to use for repositories discovered in artifact descriptors.
|
ProxySelector |
getProxySelector()
Gets the proxy selector to use for repositories discovered in artifact descriptors.
|
RepositoryListener |
getRepositoryListener()
Gets the listener being notified of actions in the repository system.
|
Map<String,String> |
getSystemProperties()
Gets the system properties to use, e.g. for processing of artifact descriptors.
|
TransferListener |
getTransferListener()
Gets the listener being notified of uploads/downloads by the repository system.
|
String |
getUpdatePolicy()
Gets the global update policy.
|
Map<String,String> |
getUserProperties()
Gets the user properties to use, e.g. for processing of artifact descriptors.
|
WorkspaceReader |
getWorkspaceReader()
Gets the workspace reader used during this session.
|
boolean |
isIgnoreInvalidArtifactDescriptor()
Indicates whether invalid artifact descriptors are silently ignored.
|
boolean |
isIgnoreMissingArtifactDescriptor()
Indicates whether missing artifact descriptors are silently ignored.
|
boolean |
isNotFoundCachingEnabled()
Indicates whether missing artifacts/metadata from resolution attempts should be cached in the local repository.
|
boolean |
isOffline()
Indicates whether the repository system operates in offline mode and avoids/refuses any access to remote
repositories.
|
boolean |
isTransferErrorCachingEnabled()
Indicates whether transfer errors (e.g. unreachable host, bad authentication) from resolution attempts should be
cached in the local repository.
|
boolean isOffline()
true if the repository system is in offline mode, false otherwise.boolean isTransferErrorCachingEnabled()
true if transfer errors are cached, false to always reattempt downloading.boolean isNotFoundCachingEnabled()
true if missing resources are cached, false to always reattempt downloading.boolean isIgnoreMissingArtifactDescriptor()
true if missing artifact descriptors are ignored, false to fail the operation with an
exception.boolean isIgnoreInvalidArtifactDescriptor()
true if invalid artifact descriptors are ignored, false to fail the operation with an
exception.String getChecksumPolicy()
null/empty if not set and the per-repository policies apply.RepositoryPolicy.CHECKSUM_POLICY_FAIL,
RepositoryPolicy.CHECKSUM_POLICY_IGNORE,
RepositoryPolicy.CHECKSUM_POLICY_WARNString getUpdatePolicy()
null/empty if not set and the per-repository policies apply.RepositoryPolicy.UPDATE_POLICY_ALWAYS,
RepositoryPolicy.UPDATE_POLICY_DAILY,
RepositoryPolicy.UPDATE_POLICY_NEVERLocalRepository getLocalRepository()
LocalRepositoryManager.getRepository().null.LocalRepositoryManager getLocalRepositoryManager()
null.WorkspaceReader getWorkspaceReader()
null if none.RepositoryListener getRepositoryListener()
null if none.TransferListener getTransferListener()
null if none.Map<String,String> getSystemProperties()
System.getProperties() and environment variables.null.Map<String,String> getUserProperties()
null.Map<String,Object> getConfigProperties()
null.ConfigurationPropertiesMirrorSelector getMirrorSelector()
null.ProxySelector getProxySelector()
null.RemoteRepository.getProxy()AuthenticationSelector getAuthenticationSelector()
null.RemoteRepository.getAuthentication()ArtifactTypeRegistry getArtifactTypeRegistry()
null.DependencyTraverser getDependencyTraverser()
null.DependencyManager getDependencyManager()
null.DependencySelector getDependencySelector()
null.DependencyGraphTransformer getDependencyGraphTransformer()
null.SessionData getData()
null.RepositoryCache getCache()
null if none.Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.