|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonatype.aether.util.FilterRepositorySystemSession
public class FilterRepositorySystemSession
A repository system session that wraps another session. This class exists merely for the purpose of sub classing where a sub class would intercept one or more methods and present alternative settings to the caller.
| Field Summary | |
|---|---|
protected RepositorySystemSession |
session
|
| Constructor Summary | |
|---|---|
protected |
FilterRepositorySystemSession(RepositorySystemSession session)
Creates a new repository system session that wraps the specified session. |
| Method Summary | |
|---|---|
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. |
java.lang.String |
getChecksumPolicy()
Gets the global checksum policy. |
java.util.Map<java.lang.String,java.lang.Object> |
getConfigProperties()
The configuration properties used to tweak internal aspects of the repository system (e.g. |
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. |
java.util.Map<java.lang.String,java.lang.String> |
getSystemProperties()
Gets the system properties to use, e.g. |
TransferListener |
getTransferListener()
Gets the listener being notified of uploads/downloads by the repository system. |
java.lang.String |
getUpdatePolicy()
Gets the global update policy. |
java.util.Map<java.lang.String,java.lang.String> |
getUserProperties()
Gets the user properties to use, e.g. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected RepositorySystemSession session
| Constructor Detail |
|---|
protected FilterRepositorySystemSession(RepositorySystemSession session)
session - The repository system session to wrap, must not be null.| Method Detail |
|---|
public ArtifactTypeRegistry getArtifactTypeRegistry()
RepositorySystemSession
getArtifactTypeRegistry in interface RepositorySystemSessionnull.public AuthenticationSelector getAuthenticationSelector()
RepositorySystemSession
getAuthenticationSelector in interface RepositorySystemSessionnull.RemoteRepository.getAuthentication()public RepositoryCache getCache()
RepositorySystemSession
getCache in interface RepositorySystemSessionnull if none.public java.lang.String getChecksumPolicy()
RepositorySystemSession
getChecksumPolicy in interface RepositorySystemSessionnull/empty if not set and the per-repository policies apply.RepositoryPolicypublic java.util.Map<java.lang.String,java.lang.Object> getConfigProperties()
RepositorySystemSession
getConfigProperties in interface RepositorySystemSessionnull.ConfigurationPropertiespublic DependencyGraphTransformer getDependencyGraphTransformer()
RepositorySystemSession
getDependencyGraphTransformer in interface RepositorySystemSessionnull.public DependencyManager getDependencyManager()
RepositorySystemSession
getDependencyManager in interface RepositorySystemSessionnull.public DependencySelector getDependencySelector()
RepositorySystemSession
getDependencySelector in interface RepositorySystemSessionnull.public DependencyTraverser getDependencyTraverser()
RepositorySystemSession
getDependencyTraverser in interface RepositorySystemSessionnull.public LocalRepository getLocalRepository()
RepositorySystemSessionLocalRepositoryManager.getRepository().
getLocalRepository in interface RepositorySystemSessionnull.public LocalRepositoryManager getLocalRepositoryManager()
RepositorySystemSession
getLocalRepositoryManager in interface RepositorySystemSessionnull.public MirrorSelector getMirrorSelector()
RepositorySystemSession
getMirrorSelector in interface RepositorySystemSessionnull.public ProxySelector getProxySelector()
RepositorySystemSession
getProxySelector in interface RepositorySystemSessionnull.RemoteRepository.getProxy()public RepositoryListener getRepositoryListener()
RepositorySystemSession
getRepositoryListener in interface RepositorySystemSessionnull if none.public java.util.Map<java.lang.String,java.lang.String> getSystemProperties()
RepositorySystemSessionSystem.getProperties() and environment variables.
getSystemProperties in interface RepositorySystemSessionnull.public TransferListener getTransferListener()
RepositorySystemSession
getTransferListener in interface RepositorySystemSessionnull if none.public java.lang.String getUpdatePolicy()
RepositorySystemSession
getUpdatePolicy in interface RepositorySystemSessionnull/empty if not set and the per-repository policies apply.RepositoryPolicypublic java.util.Map<java.lang.String,java.lang.String> getUserProperties()
RepositorySystemSession
getUserProperties in interface RepositorySystemSessionnull.public WorkspaceReader getWorkspaceReader()
RepositorySystemSession
getWorkspaceReader in interface RepositorySystemSessionnull if none.public boolean isIgnoreInvalidArtifactDescriptor()
RepositorySystemSession
isIgnoreInvalidArtifactDescriptor in interface RepositorySystemSessiontrue if invalid artifact descriptors are ignored, false to fail the operation with an
exception.public boolean isIgnoreMissingArtifactDescriptor()
RepositorySystemSession
isIgnoreMissingArtifactDescriptor in interface RepositorySystemSessiontrue if missing artifact descriptors are ignored, false to fail the operation with an
exception.public boolean isNotFoundCachingEnabled()
RepositorySystemSession
isNotFoundCachingEnabled in interface RepositorySystemSessiontrue if missing resources are cached, false to always reattempt downloading.public boolean isOffline()
RepositorySystemSession
isOffline in interface RepositorySystemSessiontrue if the repository system is in offline mode, false otherwise.public boolean isTransferErrorCachingEnabled()
RepositorySystemSession
isTransferErrorCachingEnabled in interface RepositorySystemSessiontrue if transfer errors are cached, false to always reattempt downloading.public SessionData getData()
RepositorySystemSession
getData in interface RepositorySystemSessionnull.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||