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