public void command(final @NonNull Command<C> command) {
        if (this.command != null) {
            throw new IllegalStateException("Cannot replace owning command");
        }
        this.command = command;
    }
Sets the executable command of this node.

@param command command
cloud-core/src/main/java/org/incendo/cloud/internal/CommandNode.java