public class ProcessConfig extends Object implements Serializable
| Constructor and Description |
|---|
ProcessConfig() |
ProcessConfig(File installDir) |
public ProcessConfig()
public ProcessConfig(File installDir)
protected String toCommand(String commandName)
public String getName()
public void setName(String name)
public String getKillCommand()
public void setKillCommand(String killCommand)
public String getLaunchScript()
public void setLaunchScript(String launchScript)
public String getPidFile()
public void setPidFile(String pidFile)
public String getRestartCommand()
public void setRestartCommand(String restartCommand)
public String getStartCommand()
public void setStartCommand(String startCommand)
public String getStatusCommand()
public void setStatusCommand(String statusCommand)
public String getStopCommand()
public void setStopCommand(String stopCommand)
public String getConfigureCommand()
public void setConfigureCommand(String configureCommand)
public String getDeployPath()
public void setDeployPath(String deployPath)
public String getSharedLibraryPath()
public void setSharedLibraryPath(String sharedLibraryPath)
public int runCommand(Executor executor, File baseDir, String... arguments) throws IOException, InterruptedException, CommandFailedException
Copyright © 2014-2015 Red Hat. All Rights Reserved.