Class ScriptResults


  • public class ScriptResults
    extends java.lang.Object
    Represents the results of a script.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double Duration()
      The length of time the script ran (or has been running) given in seconds
      java.lang.String ErrorMessage()
      The value of any error message logged for the script
      java.lang.String Errors()
      A count of errors logged for that run.
      java.lang.String Exceptions()
      A count of the eggPlant caught and uncaught exceptions raised
      java.lang.Object get​(java.lang.String key)
      Gets the object with the given key.
      java.lang.String LogFile()
      The name and absolute path of the Log file.
      java.lang.Object ReturnValue()
      The returned value of any return statements
      java.util.Date RunDate()
      The date and time the run was started
      java.lang.String Status()
      The status of the run - Success, Failure or Running
      java.lang.String Warnings()
      A count of the warnings logged for that run.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • get

        public java.lang.Object get​(java.lang.String key)
        Gets the object with the given key.
        Parameters:
        key - the key
        Returns:
        the object
      • Status

        public java.lang.String Status()
        The status of the run - Success, Failure or Running
        Returns:
        The status of the run - Success, Failure or Running
      • Exceptions

        public java.lang.String Exceptions()
        A count of the eggPlant caught and uncaught exceptions raised
        Returns:
        A count of the eggPlant caught and uncaught exceptions raised
      • RunDate

        public java.util.Date RunDate()
        The date and time the run was started
        Returns:
        The date and time the run was started
      • ReturnValue

        public java.lang.Object ReturnValue()
        The returned value of any return statements
        Returns:
        The returned value of any return statements
      • Duration

        public double Duration()
        The length of time the script ran (or has been running) given in seconds
        Returns:
        The length of time the script ran (or has been running) given in seconds
      • Warnings

        public java.lang.String Warnings()
        A count of the warnings logged for that run.
        Returns:
        the string
      • Errors

        public java.lang.String Errors()
        A count of errors logged for that run.
        Returns:
        the string
      • LogFile

        public java.lang.String LogFile()
        The name and absolute path of the Log file.
        Returns:
        The name and absolute path of the Log file
      • ErrorMessage

        public java.lang.String ErrorMessage()
        The value of any error message logged for the script
        Returns:
        The value of any error message logged for the script