@Incubating public interface ComponentSelectionReason
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getDescription() |
Returns a human-consumable description of this selection reason.
|
boolean |
isConflictResolution() |
Informs whether the component was selected by conflict resolution.
|
boolean |
isExpected() |
Informs whether the component is the requested selection of all dependency declarations, and was not replaced for some reason, such as conflict resolution.
|
boolean |
isForced() |
Informs whether the component was forced.
|
boolean |
isSelectedByRule() |
Informs whether the component was selected by the dependency substitution rule.
|
boolean isForced()
ResolutionStrategy
or when declaring dependencies (see DependencyHandler
).boolean isConflictResolution()
ResolutionStrategy
contains information
about conflict resolution and includes means to configure it.boolean isSelectedByRule()
ResolutionStrategy.getDependencySubstitution()
boolean isExpected()
java.lang.String getDescription()