public void setConfigs(Configuration configs) {
    this.configs = configs;
  }
Gets an instance of a {@link ProcessBuilder} that's ready to execute the
shell command to run the stack advisor script. This will take the
environment variables from the current process.

@param serviceAdvisorType Python or Java
@param script Python script or jar path
@param saCommandType command type such as validate, configure
@param actionDirectory Directory that contains hosts.json, services.json, and output files
@param outputFile Output file path
@param errorFile Error file path
@return Process that can launch
ambari-server/src/main/java/org/apache/ambari/server/api/services/stackadvisor/StackAdvisorRunner.java