Class PythonRunner.Result

java.lang.Object
org.scictrl.csshell.python.PythonRunner.Result
Enclosing class:
PythonRunner

public static final class PythonRunner.Result extends Object
Script result object.
  • Field Details

    • data

      public double[] data
      Returned data parsed into double array.
    • error

      public String error
      Possible error.
    • exception

      public Exception exception
      Possible exception.
    • output

      public String output
      Script output.
  • Constructor Details

    • Result

      public Result()
      Result constructor.
  • Method Details

    • hasData

      public boolean hasData()
      Result has data.
      Returns:
      true if has data
    • hasError

      public boolean hasError()
      Result is with error.
      Returns:
      true if is error
    • isOK

      public boolean isOK()
      Returns true if there is data and no error.
      Returns:
      true if there is data and no error