public interface CommandResult
CommandRunner.run(java.lang.String, java.lang.String...).| Modifier and Type | Interface and Description |
|---|---|
static class |
CommandResult.ExitStatus
A command can have following types of exit status.
|
| Modifier and Type | Method and Description |
|---|---|
CommandResult.ExitStatus |
getExitStatus() |
Throwable |
getFailureCause()
This method returns any exception raised during command invocation, If the command's exit status
is
CommandResult.ExitStatus.SUCCESS, then this method will return null. |
String |
getOutput() |
CommandResult.ExitStatus getExitStatus()
String getOutput()
Throwable getFailureCause()
CommandResult.ExitStatus.SUCCESS, then this method will return null.Copyright © 2017–2019 Eclipse Foundation. All rights reserved.