/** * Adds information on command execution. * * @param str information to be added * @param ext extended info * @return {@code true} */ protected final boolean info(final String str, final Object... ext) { info.addExt(str, ext).add(NL); return true; }
/** * Adds the error message to the message buffer {@link #info}. * * @param msg error message * @param ext error extension * @return {@code false} */ protected final boolean error(final String msg, final Object... ext) { info.reset(); info.addExt(msg == null ? "" : msg, ext); return false; }