Class ConflictResolver.ScopeContext
java.lang.Object
org.eclipse.aether.util.graph.transformer.ConflictResolver.ScopeContext
- Enclosing class:
- ConflictResolver
A context used to hold information that is relevant for deriving the scope of a child dependency.
- See Also:
- Restriction:
- This class is not intended to be instantiated by clients in production code, the constructor may change without notice and only exists to enable unit testing
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract StringGets the original scope of the child dependency.abstract StringGets the derived scope of the child dependency.abstract StringGets the scope of the parent dependency.abstract voidsetDerivedScope(String derivedScope) Sets the derived scope of the child dependency.
- 
Constructor Details- 
ScopeContextpublic ScopeContext()
 
- 
- 
Method Details- 
getParentScopeGets the scope of the parent dependency. This is usually the scope that was derived by earlier invocations of the scope deriver.- Returns:
- the scope of the parent dependency, never null
 
- 
getChildScopeGets the original scope of the child dependency. This is the scope that was declared in the artifact descriptor of the parent dependency.- Returns:
- the original scope of the child dependency, never null
 
- 
getDerivedScopeGets the derived scope of the child dependency. This is initially equal togetChildScope()until the scope deriver makes changes.- Returns:
- the derived scope of the child dependency, never null
 
- 
setDerivedScopeSets the derived scope of the child dependency.- Parameters:
- derivedScope- the derived scope of the dependency, may be- null
 
 
-