Package org.gradle.api.artifacts
Interface ComponentMetadataBuilder
public interface ComponentMetadataBuilder
A component metadata builder.
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
attributes
(Action<? super AttributeContainer> attributesConfiguration) Configures the attributes of this componentReturns the attributes of the component.void
Sets the status of this componentvoid
setStatusScheme
(List<String> scheme) Sets the status scheme of this component
-
Method Details
-
setStatus
Sets the status of this component- Parameters:
status
- the component status
-
setStatusScheme
Sets the status scheme of this component- Parameters:
scheme
- the status scheme
-
attributes
Configures the attributes of this component- Parameters:
attributesConfiguration
- the configuration action- Since:
- 4.9
-
getAttributes
AttributeContainer getAttributes()Returns the attributes of the component.- Returns:
- the attributes of the component, guaranteed to be mutable.
- Since:
- 4.9
-