Example #1
0
 @Override
 public void build(final CmdBuilder cb) {
   cb.init().arg(C_TO, 0).arg(1);
 }
Example #2
0
 @Override
 public void build(final CmdBuilder cb) {
   cb.init().xquery(0);
 }
Example #3
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();
 }
Example #4
0
 @Override
 public void build(final CmdBuilder cb) {
   cb.init(Cmd.SHOW + " " + CmdShow.SESSIONS);
 }
Example #5
0
 @Override
 public final String toString() {
   final CmdBuilder cb = new CmdBuilder(this);
   build(cb);
   return cb.toString();
 }