@Incubating @NonExtensible public interface ComponentMetadataDetails extends ComponentMetadata
ComponentMetadataHandler
.Modifier and Type | Method and Description |
---|---|
void |
setChanging(boolean changing)
Sets whether the component is changing or immutable.
|
void |
setStatus(String status)
Sets the status of the component.
|
void |
setStatusScheme(List<String> statusScheme)
Sets the status scheme of the component.
|
void |
withVariant(String name,
Action<VariantMetadata> action)
Add a rule for adjusting an existing variant of the component.
|
getId, getStatus, getStatusScheme, isChanging
void setChanging(boolean changing)
changing
- whether the component is changing or immutablevoid setStatus(String status)
ComponentMetadata.getStatusScheme()
.status
- the status of the componentvoid setStatusScheme(List<String> statusScheme)
statusScheme
- the status scheme of the componentvoid withVariant(String name, Action<VariantMetadata> action)
name
- name of the variant to adjust (e.g. 'compile')action
- the action to modify the variant