public interface ComponentSelectionReason
| Modifier and Type | Method | Description | 
|---|---|---|
| java.lang.String | getDescription() | Deprecated. 
 Use  getDescriptions()instead | 
| 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 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()
@Incubating boolean isCompositeSubstitution()
@Deprecated java.lang.String getDescription()
getDescriptions() instead@Incubating java.util.List<ComponentSelectionDescriptor> getDescriptions()
@Incubating boolean isConstrained()