Package org.eclipse.aether.scope
Interface ScopeManager
- All Known Subinterfaces:
InternalScopeManager
- All Known Implementing Classes:
ScopeManagerImpl
public interface ScopeManager
Scope manager.
- Since:
- 2.0.0
- Restriction:
- This interface is not intended to be extended by clients.
- Restriction:
- This interface is not intended to be implemented by clients.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a specific dependency scope by label.Returns the "universe" (all) of dependency scopes.getId()
The label.Returns a specific resolution scope by label.Returns the "universe" (all) of resolution scopes.Returns the "system" scope, if exists.
-
Method Details
-
getId
The label. -
getSystemDependencyScope
Returns the "system" scope, if exists.This is a special scope. In this scope case, Resolver should handle it specially, as it has no POM (so is always a leaf on graph), is not in any repository, but is actually hosted on host OS file system. On resolution resolver merely checks is file present or not.
-
getDependencyScope
Returns a specific dependency scope by label.Note: despite returns optional, this method may throw as well, if manager set in "strict" mode.
-
getDependencyScopeUniverse
Returns the "universe" (all) of dependency scopes. -
getResolutionScope
Returns a specific resolution scope by label.Note: despite returns optional, this method may throw as well, if manager set in "strict" mode.
-
getResolutionScopeUniverse
Returns the "universe" (all) of resolution scopes.
-