public static final class ConflictResolver.ScopeContext
extends java.lang.Object
ConflictResolver.ScopeDeriver
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
childScope |
(package private) java.lang.String |
derivedScope |
(package private) java.lang.String |
parentScope |
Constructor and Description |
---|
ScopeContext(java.lang.String parentScope,
java.lang.String childScope)
Creates a new scope context with the specified properties.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChildScope()
Gets the original scope of the child dependency.
|
java.lang.String |
getDerivedScope()
Gets the derived scope of the child dependency.
|
java.lang.String |
getParentScope()
Gets the scope of the parent dependency.
|
void |
setDerivedScope(java.lang.String derivedScope)
Sets the derived scope of the child dependency.
|
java.lang.String parentScope
java.lang.String childScope
java.lang.String derivedScope
public ScopeContext(java.lang.String parentScope, java.lang.String childScope)
parentScope
- The scope of the parent dependency, may be null
.childScope
- The scope of the child dependency, may be null
.public java.lang.String getParentScope()
null
.public java.lang.String getChildScope()
null
.public java.lang.String getDerivedScope()
getChildScope()
until the
scope deriver makes changes.null
.public void setDerivedScope(java.lang.String derivedScope)
derivedScope
- The derived scope of the dependency, may be null
.