Class ScopeManagerImpl
java.lang.Object
org.eclipse.aether.internal.impl.scope.ScopeManagerImpl
- All Implemented Interfaces:
- InternalScopeManager,- org.eclipse.aether.scope.ScopeManager
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.eclipse.aether.impl.scope.InternalScopeManagerInternalScopeManager.Mode
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.eclipse.aether.scope.DependencyScopecreateDependencyScope(String id, boolean transitive, Collection<BuildScopeQuery> presence) Creates dependency scope instance.org.eclipse.aether.scope.ResolutionScopecreateResolutionScope(String id, InternalScopeManager.Mode mode, Collection<BuildScopeQuery> wantedPresence, Collection<org.eclipse.aether.scope.DependencyScope> explicitlyIncluded, Collection<org.eclipse.aether.scope.DependencyScope> transitivelyExcluded) Creates resolution scope instance.org.eclipse.aether.scope.SystemDependencyScopecreateSystemDependencyScope(String id, boolean transitive, Collection<BuildScopeQuery> presence, String systemPathProperty) Creates system dependency scope instance.booleanorg.eclipse.aether.graph.DependencyFiltergetDependencyFilter(org.eclipse.aether.scope.ResolutionScope resolutionScope) Resolver specific: dependency filter to be used to support this scope (with its dependency and resolution scopes).org.eclipse.aether.collection.DependencyGraphTransformergetDependencyGraphTransformer(org.eclipse.aether.scope.ResolutionScope resolutionScope) Resolver specific: dependency graph transformer to be used to support this scope (with its dependency and resolution scopes).Optional<org.eclipse.aether.scope.DependencyScope> getDependencyScopeMainProjectBuildScope(org.eclipse.aether.scope.DependencyScope dependencyScope) Returns theBuildScopethat this scope deem as main.Collection<org.eclipse.aether.scope.DependencyScope> intgetDependencyScopeWidth(org.eclipse.aether.scope.DependencyScope dependencyScope) The "width" of scope: is basically sum of all distinctProjectPathandBuildPaththat are in build scopes the scope is present in.org.eclipse.aether.collection.DependencySelectorgetDependencySelector(org.eclipse.aether.scope.ResolutionScope resolutionScope) Resolver specific: dependency selector to be used to support this scope (with its dependency and resolution scopes).getId()Optional<org.eclipse.aether.scope.ResolutionScope> Collection<org.eclipse.aether.scope.ResolutionScope> Optional<org.eclipse.aether.scope.SystemDependencyScope> inthashCode()org.eclipse.aether.collection.CollectResultpostProcess(org.eclipse.aether.scope.ResolutionScope resolutionScope, org.eclipse.aether.collection.CollectResult collectResult) Resolver specific: post-processing to be used to support this scope (with its dependency and resolution scopes).toString()
- 
Constructor Details- 
ScopeManagerImpl
 
- 
- 
Method Details- 
getId- Specified by:
- getIdin interface- org.eclipse.aether.scope.ScopeManager
 
- 
getSystemDependencyScope- Specified by:
- getSystemDependencyScopein interface- org.eclipse.aether.scope.ScopeManager
 
- 
getDependencyScope- Specified by:
- getDependencyScopein interface- org.eclipse.aether.scope.ScopeManager
 
- 
getDependencyScopeUniverse- Specified by:
- getDependencyScopeUniversein interface- org.eclipse.aether.scope.ScopeManager
 
- 
getResolutionScope- Specified by:
- getResolutionScopein interface- org.eclipse.aether.scope.ScopeManager
 
- 
getResolutionScopeUniverse- Specified by:
- getResolutionScopeUniversein interface- org.eclipse.aether.scope.ScopeManager
 
- 
getDependencyScopeWidthDescription copied from interface:InternalScopeManagerThe "width" of scope: is basically sum of all distinctProjectPathandBuildPaththat are in build scopes the scope is present in. The more of them, the "wider" is the scope. Transitive scopes are weighted more as well.The ProjectPath.order()makes given path "weigh" more. So a scope being present only in "main" project path is wider than scope being present only in "test" project path.Interpretation: the bigger the returned integer is, the "wider" the scope is. The numbers should not serve any other purposes, merely to sort scope instances by "width" (i.e. from "widest" to "narrowest"). - Specified by:
- getDependencyScopeWidthin interface- InternalScopeManager
 
- 
getDependencyScopeMainProjectBuildScopepublic Optional<BuildScope> getDependencyScopeMainProjectBuildScope(org.eclipse.aether.scope.DependencyScope dependencyScope) Description copied from interface:InternalScopeManagerReturns theBuildScopethat this scope deem as main.- Specified by:
- getDependencyScopeMainProjectBuildScopein interface- InternalScopeManager
 
- 
getDependencySelectorpublic org.eclipse.aether.collection.DependencySelector getDependencySelector(org.eclipse.aether.scope.ResolutionScope resolutionScope) Description copied from interface:InternalScopeManagerResolver specific: dependency selector to be used to support this scope (with its dependency and resolution scopes).- Specified by:
- getDependencySelectorin interface- InternalScopeManager
 
- 
getDependencyGraphTransformerpublic org.eclipse.aether.collection.DependencyGraphTransformer getDependencyGraphTransformer(org.eclipse.aether.scope.ResolutionScope resolutionScope) Description copied from interface:InternalScopeManagerResolver specific: dependency graph transformer to be used to support this scope (with its dependency and resolution scopes).- Specified by:
- getDependencyGraphTransformerin interface- InternalScopeManager
 
- 
postProcesspublic org.eclipse.aether.collection.CollectResult postProcess(org.eclipse.aether.scope.ResolutionScope resolutionScope, org.eclipse.aether.collection.CollectResult collectResult) Description copied from interface:InternalScopeManagerResolver specific: post-processing to be used to support this scope (with its dependency and resolution scopes).- Specified by:
- postProcessin interface- InternalScopeManager
 
- 
getDependencyFilterpublic org.eclipse.aether.graph.DependencyFilter getDependencyFilter(org.eclipse.aether.scope.ResolutionScope resolutionScope) Description copied from interface:InternalScopeManagerResolver specific: dependency filter to be used to support this scope (with its dependency and resolution scopes).- Specified by:
- getDependencyFilterin interface- InternalScopeManager
 
- 
createDependencyScopepublic org.eclipse.aether.scope.DependencyScope createDependencyScope(String id, boolean transitive, Collection<BuildScopeQuery> presence) Description copied from interface:InternalScopeManagerCreates dependency scope instance.Should be invoked only via ScopeManagerConfiguration.buildDependencyScopes(InternalScopeManager).- Specified by:
- createDependencyScopein interface- InternalScopeManager
 
- 
createSystemDependencyScopepublic org.eclipse.aether.scope.SystemDependencyScope createSystemDependencyScope(String id, boolean transitive, Collection<BuildScopeQuery> presence, String systemPathProperty) Description copied from interface:InternalScopeManagerCreates system dependency scope instance. This method may be invoked only once, as there can be only one instance ofSystemDependencyScope!Should be invoked only via ScopeManagerConfiguration.buildDependencyScopes(InternalScopeManager).- Specified by:
- createSystemDependencyScopein interface- InternalScopeManager
 
- 
createResolutionScopepublic org.eclipse.aether.scope.ResolutionScope createResolutionScope(String id, InternalScopeManager.Mode mode, Collection<BuildScopeQuery> wantedPresence, Collection<org.eclipse.aether.scope.DependencyScope> explicitlyIncluded, Collection<org.eclipse.aether.scope.DependencyScope> transitivelyExcluded) Description copied from interface:InternalScopeManagerCreates resolution scope instance.Should be invoked only via ScopeManagerConfiguration.buildResolutionScopes(InternalScopeManager).- Specified by:
- createResolutionScopein interface- InternalScopeManager
 
- 
equals
- 
hashCode
- 
toString
 
-