code: public void setBaseTempDir(final File tmp) {
          if (!tmp.isAbsolute()) {
              throw new IllegalArgumentException("Temporary directory must be absolute");
          }
          args.put("base.temp.dir", tmp.getAbsolutePath());
      }
docs: Set base directory for temporary directories.
  
  @param tmp absolute directory for temporary directories