Interface MutableCapabilitiesMetadata

    • Method Detail

      • addCapability

        void addCapability​(java.lang.String group,
                           java.lang.String name,
                           java.lang.String version)
        Adds a new capability. If a capability of the same (group, name) is found with a different version, an error will be thrown.
        Parameters:
        group - the group of the capability
        name - the name of the capability
        version - the version of the capability
      • removeCapability

        void removeCapability​(java.lang.String group,
                              java.lang.String name)
        Removes a capability.
        Parameters:
        group - the group of the capability
        name - the name of the capability
      • asImmutable

        CapabilitiesMetadata asImmutable()
        Returns an immutable vew of the capabilities.
        Returns:
        an immutable view of the capabilities