Enum ConflictResolver.Verbosity
- java.lang.Object
-
- java.lang.Enum<ConflictResolver.Verbosity>
-
- org.eclipse.aether.util.graph.transformer.ConflictResolver.Verbosity
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ConflictResolver.Verbosity>
- Enclosing class:
- ConflictResolver
public static enum ConflictResolver.Verbosity extends java.lang.Enum<ConflictResolver.Verbosity>
The enum representing verbosity levels of conflict resolver.- Since:
- 1.9.8
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Verbosity()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConflictResolver.Verbosity
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ConflictResolver.Verbosity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ConflictResolver.Verbosity NONE
Verbosity level to be used in all "common" resolving use cases (ie. dependencies to build class path). TheConflictResolver
in this mode will trim down the graph to the barest minimum: will not leave any conflicting node in place, hence no conflicts will be present in transformed graph either.
-
STANDARD
public static final ConflictResolver.Verbosity STANDARD
Verbosity level to be used in "analyze" resolving use cases (ie. dependency convergence calculations). TheConflictResolver
in this mode will remove any redundant collected nodes, in turn it will leave one with recorded conflicting information. This mode corresponds to "classic verbose" mode whenConflictResolver.CONFIG_PROP_VERBOSE
was set totrue
. Obviously, the resulting dependency tree is not suitable for artifact resolution unless a filter is employed to exclude the duplicate dependencies.
-
FULL
public static final ConflictResolver.Verbosity FULL
Verbosity level to be used in "analyze" resolving use cases (ie. dependency convergence calculations). TheConflictResolver
in this mode will not remove any collected node, in turn it will record on all eliminated nodes the conflicting information. Obviously, the resulting dependency tree is not suitable for artifact resolution unless a filter is employed to exclude the duplicate dependencies.
-
-
Method Detail
-
values
public static ConflictResolver.Verbosity[] 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 (ConflictResolver.Verbosity c : ConflictResolver.Verbosity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConflictResolver.Verbosity 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
-
-