Class DefaultRemoteRepositoryFilterManager
java.lang.Object
org.eclipse.aether.internal.impl.filter.DefaultRemoteRepositoryFilterManager
- All Implemented Interfaces:
RemoteRepositoryFilterManager
@Singleton
@Named
public final class DefaultRemoteRepositoryFilterManager
extends Object
implements RemoteRepositoryFilterManager
Default implementation of
RemoteRepositoryFilterManager
, it always returns a RemoteRepositoryFilter
instance, even if no filter sources enabled/registered (then "always allow" instance).
The created RemoteRepositoryFilter
instance is created once per session and cached.
- Since:
- 1.9.0
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionProvides the filter instance for given session, ornull
if no filtering applied.
-
Constructor Details
-
DefaultRemoteRepositoryFilterManager
@Inject public DefaultRemoteRepositoryFilterManager(Map<String, RemoteRepositoryFilterSource> sources)
-
-
Method Details
-
getRemoteRepositoryFilter
Description copied from interface:RemoteRepositoryFilterManager
Provides the filter instance for given session, ornull
if no filtering applied.- Specified by:
getRemoteRepositoryFilter
in interfaceRemoteRepositoryFilterManager
- Returns:
- The session bound filter or
null
if no filtering applied.
-