/** * Returns the shell, executable and all defined arguments. Shell usage is only desirable when generating code for * remote execution. */ public String[] getShellCommandline() { // TODO: Provided only for backward compat. with <= 1.4 verifyShellState(); return (String[]) getShell().getShellCommandLine( getArguments() ).toArray( new String[0] ); }