Class CommandResult

java.lang.Object
com.aspectran.daemon.command.CommandResult

public class CommandResult extends Object
It contains the results of executing the command.

Created: 2019-01-19

  • Constructor Details

    • CommandResult

      public CommandResult(boolean success, String result)
      Creates a new instance of the command result.
      Parameters:
      success - whether the command executed successfully
      result - the output of executed command
  • Method Details

    • isSuccess

      public boolean isSuccess()
    • getResult

      public String getResult()