mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Gaetan Boismal
15.35.2016 db1a3826ba28aa6231756ebd224f16677440ed2e
opendj-sdk/opendj-cli/src/main/java/com/forgerock/opendj/cli/CommandBuilder.java
@@ -60,6 +60,11 @@
        }
    }
    /** Creates a {@link CommandBuilder} with {@code null} command and subcommand names. */
    public CommandBuilder() {
        this(null, null);
    }
    /**
     * The constructor for the CommandBuilder.
     *
@@ -111,6 +116,19 @@
    }
    /**
     * Removes the provided arguments from this CommandBuilder.
     * Arguments which are not in this {@link CommandBuilder} will be ignored.
     *
     * @param arguments
     *            Arguments to be removed.
     */
    public void removeArguments(final Argument... arguments) {
        for (final Argument argument : arguments) {
            removeArgument(argument);
        }
    }
    /**
     * Appends the arguments of another command builder to this command builder.
     *
     * @param builder