api / org.gradle.api.artifacts / ComponentMetadataBuilder

ComponentMetadataBuilder

@Incubating interface ComponentMetadataBuilder

A component metadata builder.

Since
4.0

Functions

attributes

abstract fun attributes(attributesConfiguration: Action<in AttributeContainer>): Unit

Configures the attributes of this component

getAttributes

abstract fun getAttributes(): AttributeContainer

Returns the attributes of the component.

setStatus

abstract fun setStatus(status: String): Unit

Sets the status of this component

setStatusScheme

abstract fun setStatusScheme(scheme: MutableList<String>): Unit

Sets the status scheme of this component