Enum ComponentSelectionReason_1
- java.lang.Object
-
- java.lang.Enum<ComponentSelectionReason_1>
-
- com.gradle.scan.eventmodel.gradle.dependencies.ComponentSelectionReason_1
-
- All Implemented Interfaces:
Serializable
,Comparable<ComponentSelectionReason_1>
@PluginVersion(since="1.0") public enum ComponentSelectionReason_1 extends Enum<ComponentSelectionReason_1>
Specifies the reason a component was selected during dependency resolution.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPOSITE_SUBSTITUTION
CONFLICT_RESOLUTION
CONSTRAINT
FORCED
SELECTED_BY_RULE
UNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ComponentSelectionReason_1
valueOf(String name)
Returns the enum constant of this type with the specified name.static ComponentSelectionReason_1[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FORCED
@PluginVersion(since="1.0") public static final ComponentSelectionReason_1 FORCED
-
CONFLICT_RESOLUTION
@PluginVersion(since="1.0") public static final ComponentSelectionReason_1 CONFLICT_RESOLUTION
-
SELECTED_BY_RULE
@PluginVersion(since="1.0") public static final ComponentSelectionReason_1 SELECTED_BY_RULE
-
COMPOSITE_SUBSTITUTION
@PluginVersion(since="1.12") public static final ComponentSelectionReason_1 COMPOSITE_SUBSTITUTION
-
CONSTRAINT
@PluginVersion(since="1.12") public static final ComponentSelectionReason_1 CONSTRAINT
-
UNKNOWN
@PluginVersion(since="1.12") public static final ComponentSelectionReason_1 UNKNOWN
-
-
Method Detail
-
values
public static ComponentSelectionReason_1[] 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 (ComponentSelectionReason_1 c : ComponentSelectionReason_1.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ComponentSelectionReason_1 valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-