Beispiel #1
0
  public ExecTask toExecTask(CRExecTask crTask) {
    ExecTask execTask =
        new ExecTask(
            crTask.getCommand(), toArgList(crTask.getArgs()), crTask.getWorkingDirectory());
    if (crTask.getTimeout() != null) execTask.setTimeout(crTask.getTimeout());
    // else default global-wide time

    setCommonTaskMembers(execTask, crTask);
    return execTask;
  }