ComponentSelectionCause

The possible component selection causes. There are a limited number of causes, but each of them can be provided with a custom description, via ComponentSelectionDescriptor.

Since

4.6

Entries

Link copied to clipboard

This component was selected because it's the root component.

Link copied to clipboard

This component was selected because it was requested directly.

Link copied to clipboard

This component was selected by a rule.

Link copied to clipboard

This component was selected because selection was forced on this version.

Link copied to clipboard

This component was selected between several candidates during conflict resolution.

Link copied to clipboard

This component was selected as a participant of a composite.

Link copied to clipboard

This component was selected because another version was rejected by a rule

Link copied to clipboard

This component was selected because of a dependency constraint

Link copied to clipboard

This component was selected because it was requested by a parent with a strict version.

Properties

Link copied to clipboard

Functions

Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.