public interface CommandResult
Modifier and Type | Method and Description |
---|---|
int |
getExitStatus()
Exit status.
|
String |
getOutput()
Command output.
|
boolean |
isFailure()
Check if command result is a failure.
|
boolean |
isSuccess()
Check if command result is a success.
|
int getExitStatus()
boolean isSuccess()
true
if command is a success, false
otherwise.boolean isFailure()
true
if command is a failure, false
otherwise.String getOutput()
Copyright © 2015. All Rights Reserved.