private void chooseMode() throws ParameterProblem {
if (this.cliArgs.mode_deploy) {
this.setMode(new Deploy(this.pr, this.cliArgs, this));
} else if (this.cliArgs.mode_destroy) {
this.setMode(new Destroy(this.pr, this.cliArgs, this));
} else if (this.cliArgs.mode_factoryRpQuery) {
this.setMode(new FactoryQuery(this.pr, this.cliArgs, this));
} else if (this.cliArgs.mode_pause) {
this.setMode(new Pause(this.pr, this.cliArgs, this));
} else if (this.cliArgs.mode_reboot) {