public static enum JkResolutionParameters.JkConflictResolver extends java.lang.Enum<JkResolutionParameters.JkConflictResolver>
Enum Constant and Description |
---|
DEFAULT
Default conflict resolver.
|
LATEST_COMPATIBLE
Select the latest version compatible with version constraints.
|
LATEST_VERSION
Select the latest version in the resolved dependency tree.
|
STRICT
Fail resolution if a there is a version conflict into the resolved tree.
|
Modifier and Type | Method and Description |
---|---|
static JkResolutionParameters.JkConflictResolver |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JkResolutionParameters.JkConflictResolver[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JkResolutionParameters.JkConflictResolver DEFAULT
public static final JkResolutionParameters.JkConflictResolver STRICT
public static final JkResolutionParameters.JkConflictResolver LATEST_COMPATIBLE
public static final JkResolutionParameters.JkConflictResolver LATEST_VERSION
public static JkResolutionParameters.JkConflictResolver[] values()
for (JkResolutionParameters.JkConflictResolver c : JkResolutionParameters.JkConflictResolver.values()) System.out.println(c);
public static JkResolutionParameters.JkConflictResolver valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null