public final class JavaScopeDeriver extends ConflictResolver.ScopeDeriver
ConflictResolver
that supports the scopes from JavaScopes
.Constructor and Description |
---|
JavaScopeDeriver()
Creates a new instance of this scope deriver.
|
Modifier and Type | Method and Description |
---|---|
void |
deriveScope(ConflictResolver.ScopeContext context)
Determines the scope of a dependency in relation to the scope of its parent.
|
getInstance
public JavaScopeDeriver()
public void deriveScope(ConflictResolver.ScopeContext context) throws RepositoryException
ConflictResolver.ScopeDeriver
ConflictResolver.ScopeContext.setDerivedScope(String)
to deliver the result of their calculation. If said method is
not invoked, the conflict resolver will assume the scope of the child dependency remains unchanged.deriveScope
in class ConflictResolver.ScopeDeriver
context
- The scope context, must not be null
.RepositoryException
- If the scope deriviation failed.Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.