Пример #1
0
 @Override
 public void build(final CmdBuilder cb) {
   cb.init().arg(C_TO, 0).arg(1);
 }
Пример #2
0
 /**
  * Builds a string representation from the command. This string must be correctly built, as
  * commands are sent to the server as strings.
  *
  * @param cb command builder
  */
 protected void build(final CmdBuilder cb) {
   cb.init().args();
 }
Пример #3
0
 @Override
 public void build(final CmdBuilder cb) {
   cb.init(Cmd.CREATE + " " + CmdCreate.USER).args();
 }
Пример #4
0
 @Override
 public final String toString() {
   final CmdBuilder cb = new CmdBuilder(this);
   build(cb);
   return cb.toString();
 }