Interface CapabilitiesResolution

    • Method Detail

      • all

        void all​(Action<? super CapabilityResolutionDetails> action)
        Configures the resolution strategy of capability conflicts for all capabilities.
        Parameters:
        action - the configuration action
      • withCapability

        void withCapability​(Capability capability,
                            Action<? super CapabilityResolutionDetails> action)
        Configures the resolution strategy of a specific capability. The capability version is irrelevant.
        Parameters:
        capability - a capability to configure
        action - the configuration action
      • withCapability

        void withCapability​(java.lang.String group,
                            java.lang.String name,
                            Action<? super CapabilityResolutionDetails> action)
        Configures the resolution strategy of a specific capability.
        Parameters:
        group - the group of the capability to configure
        name - the name of the capability to configure
        action - the configuration action
      • withCapability

        void withCapability​(java.lang.Object notation,
                            Action<? super CapabilityResolutionDetails> action)
        Configures the resolution strategy of a specific capability.
        Parameters:
        notation - the notation of the capability to configure, Providers of any notation are also accepted
        action - the configuration action