Package org.eclipse.aether.impl.scope
Enum InternalScopeManager.Mode
- java.lang.Object
-
- java.lang.Enum<InternalScopeManager.Mode>
-
- org.eclipse.aether.impl.scope.InternalScopeManager.Mode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<InternalScopeManager.Mode>
- Enclosing interface:
- InternalScopeManager
public static enum InternalScopeManager.Mode extends java.lang.Enum<InternalScopeManager.Mode>
The mode of resolution scope: eliminate (remove all occurrences) or just remove.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InternalScopeManager.ModevalueOf(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.
-
-
-
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 namejava.lang.NullPointerException- if the argument is null
-
-