public interface CapabilityResolutionDetails
Modifier and Type | Method | Description |
---|---|---|
CapabilityResolutionDetails |
because(java.lang.String reason) |
Describes why a particular candidate is selected.
|
java.util.List<ComponentVariantIdentifier> |
getCandidates() |
Returns the list of components which are in conflict on this capability
|
Capability |
getCapability() |
Returns the capability in conflict
|
CapabilityResolutionDetails |
select(java.lang.Object notation) |
Selects a particular candidate to solve the conflict.
|
CapabilityResolutionDetails |
select(ComponentVariantIdentifier candidate) |
Selects a particular candidate to solve the conflict.
|
CapabilityResolutionDetails |
selectHighestVersion() |
Automatically selects the candidate module which has the highest version of the
capability.
|
Capability getCapability()
java.util.List<ComponentVariantIdentifier> getCandidates()
CapabilityResolutionDetails select(ComponentVariantIdentifier candidate)
because(String)
methodcandidate
- the selected candidateCapabilityResolutionDetails select(java.lang.Object notation)
because(String)
methodnotation
- the selected candidateCapabilityResolutionDetails selectHighestVersion()
because(String)
would override
the automatic selection description.CapabilityResolutionDetails because(java.lang.String reason)
reason
- the reason why a candidate is selected.