Package org.jline.console
Class ConsoleEngine.ExecutionResult
- java.lang.Object
-
- org.jline.console.ConsoleEngine.ExecutionResult
-
- Enclosing interface:
- ConsoleEngine
public static class ConsoleEngine.ExecutionResult extends java.lang.ObjectClass representing the result of executing a command.An ExecutionResult encapsulates the status code and result value of a command execution.
-
-
Constructor Summary
Constructors Constructor Description ExecutionResult(int status, java.lang.Object result)Creates a new execution result with the specified status code and result value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectresult()Returns the result value of the command execution.intstatus()Returns the status code of the command execution.
-