Enum InternalScopeManager.Mode

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ELIMINATE
      Mode where artifacts in non-wanted scopes are completely eliminated.
      REMOVE
      Mode where artifacts in non-wanted scopes are removed only.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static InternalScopeManager.Mode valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static InternalScopeManager.Mode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • ELIMINATE

        public static final InternalScopeManager.Mode ELIMINATE
        Mode where artifacts in non-wanted scopes are completely eliminated. In other words, this mode ensures that if a dependency was removed due unwanted scope, it is guaranteed that no such dependency will appear anywhere else in the resulting graph either.
      • REMOVE

        public static final InternalScopeManager.Mode REMOVE
        Mode where artifacts in non-wanted scopes are removed only. In other words, they will NOT prevent (as in they will not "dominate") other possibly appearing occurrences of same artifact in the graph.
    • Method Detail

      • values

        public static InternalScopeManager.Mode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (InternalScopeManager.Mode c : InternalScopeManager.Mode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static InternalScopeManager.Mode valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null