Class CmdResult.StdioResult

java.lang.Object
net.sf.basedb.opengrid.CmdResult<String>
net.sf.basedb.opengrid.CmdResult.StdioResult
Enclosing class:
CmdResult<R>

public static class CmdResult.StdioResult
extends CmdResult<String>
An implementation that set the result to 'stdout' if the exit code is 0, and to 'stderr' if not.
Since:
1.4
  • Constructor Details

    • StdioResult

      public StdioResult​(String cmd)
  • Method Details

    • parseResult

      protected void parseResult()
      Description copied from class: CmdResult
      This method is called after the command has been executed and the exit code, stdout and stderr has been updated. Subclasses can override this method to take actions. The default implementation does nothing.
      Overrides:
      parseResult in class CmdResult<String>