public class CommandLineProcess extends Object
| Constructor and Description |
|---|
CommandLineProcess(String rootDirectory,
String[] args) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
executeProcess() |
List<String> |
executeProcessWithErrorOutput() |
void |
executeProcessWithoutOutput() |
int |
getExitStatus() |
boolean |
isErrorInProcess() |
void |
setTimeoutProcessMinutes(long timeoutProcessMinutes) |
void |
setTimeoutReadLineSeconds(long timeoutReadLineSeconds) |
public List<String> executeProcess() throws IOException
IOExceptionpublic void executeProcessWithoutOutput()
throws IOException
IOExceptionpublic List<String> executeProcessWithErrorOutput() throws IOException
IOExceptionpublic void setTimeoutReadLineSeconds(long timeoutReadLineSeconds)
public void setTimeoutProcessMinutes(long timeoutProcessMinutes)
public boolean isErrorInProcess()
public int getExitStatus()
Copyright © 2014–2020 Checkmarx. All rights reserved.