Schnittstelle ComponentModuleMetadataDetails

Alle Superschnittstellen:
ComponentModuleMetadata

public interface ComponentModuleMetadataDetails extends ComponentModuleMetadata
Contains and allows configuring component module metadata information. For information and examples please see ComponentModuleMetadataHandler
Seit:
2.2
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    replacedBy(Object moduleNotation)
    Configures a replacement module for this module.
    void
    replacedBy(Object moduleNotation, String reason)
    Configures a replacement module for this module and provides an explanation for the replacement.

    Von Schnittstelle geerbte Methoden org.gradle.api.artifacts.ComponentModuleMetadata

    getId, getReplacedBy
  • Methodendetails

    • replacedBy

      void replacedBy(Object moduleNotation)
      Configures a replacement module for this module. A real world example: 'com.google.collections:google-collections' is replaced by 'com.google.guava:guava'. Subsequent invocations of this method replace the previous 'replacedBy' value. For information and examples please see ComponentMetadataHandler.
      Parameter:
      moduleNotation - a String like 'com.google.guava:guava', an instance of ModuleVersionIdentifier, null is not permitted
    • replacedBy

      void replacedBy(Object moduleNotation, @Nullable String reason)
      Configures a replacement module for this module and provides an explanation for the replacement. A real world example: 'com.google.collections:google-collections' is replaced by 'com.google.guava:guava'. Subsequent invocations of this method replace the previous 'replacedBy' value. For information and examples please see ComponentMetadataHandler.
      Parameter:
      moduleNotation - a String like 'com.google.guava:guava', an instance of ModuleVersionIdentifier, null is not permitted
      reason - the reason for the replacement, for diagnostics
      Seit:
      4.5