CapabilitiesMetadata
@Incubating public interface MutableCapabilitiesMetadata extends CapabilitiesMetadata
ComponentMetadataHandler
.Modifier and Type | Method | Description |
---|---|---|
void |
addCapability(String group,
String name,
String version) |
Adds a new capability.
|
CapabilitiesMetadata |
asImmutable() |
Returns an immutable vew of the capabilities.
|
void |
removeCapability(String group,
String name) |
Removes a capability.
|
getCapabilities
void addCapability(String group, String name, String version)
group
- the group of the capabilityname
- the name of the capabilityversion
- the version of the capabilityvoid removeCapability(String group, String name)
group
- the group of the capabilityname
- the name of the capabilityCapabilitiesMetadata asImmutable()