Package com.facilita.fc.eggPlant
Class ScriptResults
- java.lang.Object
-
- com.facilita.fc.eggPlant.ScriptResults
-
public class ScriptResults extends java.lang.ObjectRepresents the results of a script.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleDuration()The length of time the script ran (or has been running) given in secondsjava.lang.StringErrorMessage()The value of any error message logged for the scriptjava.lang.StringErrors()A count of errors logged for that run.java.lang.StringExceptions()A count of the eggPlant caught and uncaught exceptions raisedjava.lang.Objectget(java.lang.String key)Gets the object with the given key.java.lang.StringLogFile()The name and absolute path of the Log file.java.lang.ObjectReturnValue()The returned value of any return statementsjava.util.DateRunDate()The date and time the run was startedjava.lang.StringStatus()The status of the run - Success, Failure or Runningjava.lang.StringWarnings()A count of the warnings logged for that run.
-
-
-
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
-
-