@Incubating @NonExtensible interface ComponentMetadataDetails : ComponentMetadata, HasConfigurableAttributes<ComponentMetadataDetails>
Describes a resolved component's metadata, which typically originates from a component descriptor (Ivy file, Maven POM). Some parts of the metadata can be changed via metadata rules (see org.gradle.api.artifacts.dsl.ComponentMetadataHandler.
Since
1.8
abstract fun allVariants(action: Action<in VariantMetadata>): Unit
Add a rule for adjusting all variants of a component. |
|
abstract fun setChanging(changing: Boolean): Unit
Sets whether the component is changing or immutable. |
|
abstract fun setStatus(status: String): Unit
Sets the status of the component. Must match one of the values in |
|
abstract fun setStatusScheme(statusScheme: MutableList<String>): Unit
Sets the status scheme of the component. Values are ordered from least to most mature status. |
|
abstract fun withVariant(name: String, action: Action<in VariantMetadata>): Unit
Add a rule for adjusting an existing variant of the component. |
abstract fun attributes(action: Action<in AttributeContainer>): SELF
Configure the attribute container that provides the attributes associated with this domain object. |
|
abstract fun getId(): ModuleVersionIdentifier
Returns the identifier of the component. |
|
abstract fun getStatus(): String
Returns the status of the component. Must match one of the values in |
|
abstract fun getStatusScheme(): MutableList<String>
Returns the status scheme of the component. Values are ordered from least to most mature status. Defaults to |
|
abstract fun isChanging(): Boolean
Tells whether the component is changing or immutable. |