Class ConflictResolver.ScopeContext

    • Constructor Summary

      Constructors 
      Constructor Description
      ScopeContext()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract java.lang.String getChildScope()
      Gets the original scope of the child dependency.
      abstract java.lang.String getDerivedScope()
      Gets the derived scope of the child dependency.
      abstract java.lang.String getParentScope()
      Gets the scope of the parent dependency.
      abstract void setDerivedScope​(java.lang.String derivedScope)
      Sets the derived scope of the child dependency.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getParentScope

        public abstract java.lang.String getParentScope()
        Gets 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
      • getChildScope

        public abstract java.lang.String getChildScope()
        Gets 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
      • getDerivedScope

        public abstract java.lang.String getDerivedScope()
        Gets the derived scope of the child dependency. This is initially equal to getChildScope() until the scope deriver makes changes.
        Returns:
        the derived scope of the child dependency, never null
      • setDerivedScope

        public abstract void setDerivedScope​(java.lang.String derivedScope)
        Sets the derived scope of the child dependency.
        Parameters:
        derivedScope - the derived scope of the dependency, may be null