Serializable, Comparable<ComponentSelectionCause>@Incubating public enum ComponentSelectionCause extends Enum<ComponentSelectionCause>
ComponentSelectionDescriptor.| Enum Constant | Description | 
|---|---|
| COMPOSITE_BUILD | This component was selected as a participant of a composite. | 
| CONFLICT_RESOLUTION | This component was selected between several candidates during conflict resolution. | 
| CONSTRAINT | This component was selected because of a dependency constraint | 
| FORCED | This component was selected because selection was forced on this version. | 
| REJECTION | This component was selected because another version was rejected by a rule | 
| REQUESTED | This component was selected because it was requested directly. | 
| ROOT | This component was selected because it's the root component. | 
| SELECTED_BY_RULE | This component was selected by a rule. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| String | getDefaultReason() | |
| static ComponentSelectionCause | valueOf(String name) | Returns the enum constant of this type with the specified name. | 
| static ComponentSelectionCause[] | values() | Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final ComponentSelectionCause ROOT
public static final ComponentSelectionCause REQUESTED
public static final ComponentSelectionCause SELECTED_BY_RULE
public static final ComponentSelectionCause FORCED
public static final ComponentSelectionCause CONFLICT_RESOLUTION
public static final ComponentSelectionCause COMPOSITE_BUILD
public static final ComponentSelectionCause REJECTION
public static final ComponentSelectionCause CONSTRAINT
public static ComponentSelectionCause[] values()
for (ComponentSelectionCause c : ComponentSelectionCause.values()) System.out.println(c);
public static ComponentSelectionCause valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getDefaultReason()