public interface ComponentSelectionReason
Modifier and Type | Method | Description |
---|---|---|
java.util.List<ComponentSelectionDescriptor> |
getDescriptions() |
Returns a list of descriptions of the causes that led to the selection of this component.
|
boolean |
isCompositeSubstitution() |
Informs whether the selected component is a project substitute from a build participating in a composite build.
|
boolean |
isConflictResolution() |
Informs whether the component was selected by conflict resolution.
|
boolean |
isConstrained() |
Informs whether the selected component version has been influenced by a dependency constraint.
|
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()
boolean isCompositeSubstitution()
boolean isConstrained()
java.util.List<ComponentSelectionDescriptor> getDescriptions()