public interface CapabilitiesResolution
all(Action) method,
or it can be specific to a capability by calling one of the withCapability(Object, Action),
withCapability(Capability, Action) or withCapability(String, String, Action) methods.| Modifier and Type | Method | Description |
|---|---|---|
void |
all(Action<? super CapabilityResolutionDetails> action) |
Configures the resolution strategy of capability conflicts for all capabilities.
|
void |
withCapability(Object notation,
Action<? super CapabilityResolutionDetails> action) |
Configures the resolution strategy of a specific capability.
|
void |
withCapability(String group,
String name,
Action<? super CapabilityResolutionDetails> action) |
Configures the resolution strategy of a specific capability.
|
void |
withCapability(Capability capability,
Action<? super CapabilityResolutionDetails> action) |
Configures the resolution strategy of a specific capability.
|
void all(Action<? super CapabilityResolutionDetails> action)
action - the configuration actionvoid withCapability(Capability capability, Action<? super CapabilityResolutionDetails> action)
capability - a capability to configureaction - the configuration actionvoid withCapability(String group, String name, Action<? super CapabilityResolutionDetails> action)
group - the group of the capability to configurename - the name of the capability to configureaction - the configuration actionvoid withCapability(Object notation, Action<? super CapabilityResolutionDetails> action)
notation - the notation of the capability to configureaction - the configuration action