@API(status = API.Status.STABLE)
    protected final void registerCapability(final @NonNull CloudCapability capability) {
        this.capabilities.add(capability);
    }
Registers the given {@code capability}.

@param capability the capability
@see #hasCapability(CloudCapability)
@see #capabilities()
cloud-core/src/main/java/org/incendo/cloud/CommandManager.java