ComponentModuleMetadatapublic interface ComponentModuleMetadataDetails extends ComponentModuleMetadata
ComponentModuleMetadataHandler| Modifier and Type | Method | Description |
|---|---|---|
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.
|
getId, getReplacedByvoid replacedBy(Object moduleNotation)
ComponentMetadataHandler.moduleNotation - a String like 'com.google.guava:guava', an instance of ModuleVersionIdentifier, null is not permitted@Incubating void replacedBy(Object moduleNotation, @Nullable String reason)
ComponentMetadataHandler.moduleNotation - a String like 'com.google.guava:guava', an instance of ModuleVersionIdentifier, null is not permittedreason - the reason for the replacement, for diagnostics