Package com.aspectran.daemon.command
Class CommandResult
java.lang.Object
com.aspectran.daemon.command.CommandResult
It contains the results of executing the command.
Created: 2019-01-19
-
Constructor Summary
ConstructorsConstructorDescriptionCommandResult
(boolean success, String result) Creates a new instance of the command result. -
Method Summary
-
Constructor Details
-
CommandResult
Creates a new instance of the command result.- Parameters:
success
- whether the command executed successfullyresult
- the output of executed command
-
-
Method Details
-
isSuccess
public boolean isSuccess() -
getResult
-