Class ProjectScriptDiagnostic
java.lang.Object
com.inductiveautomation.ignition.common.script.ProjectScriptDiagnostic
Used in the gateway status section to show information about gateway-run project scripts.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumstatic class
- 
Constructor SummaryConstructorsConstructorDescriptionProjectScriptDiagnostic(int type, String name, String projectName, boolean enabled, ScriptExecutionReport executionReport) Deprecated.ProjectScriptDiagnostic(ProjectScriptDiagnostic.DiagnosticType type, String name, String projectName, boolean enabled, ScriptExecutionReport executionReport) 
- 
Method SummaryModifier and TypeMethodDescriptionGet some useful information about the script, depending on its type.The duration of the last execution of this script, in ms.The last error message produced when this script was executed.The timestamp when this script last executed, in ms.getName()intgetType()booleanvoid
- 
Constructor Details- 
ProjectScriptDiagnostic@Deprecated public ProjectScriptDiagnostic(int type, String name, String projectName, boolean enabled, ScriptExecutionReport executionReport) Deprecated.Deprecated; prefer the constructor that accepts aProjectScriptDiagnostic.DiagnosticTypeinstead.
- 
ProjectScriptDiagnosticpublic ProjectScriptDiagnostic(ProjectScriptDiagnostic.DiagnosticType type, String name, String projectName, boolean enabled, ScriptExecutionReport executionReport) 
 
- 
- 
Method Details- 
getTypepublic int getType()
- 
getName
- 
getGet some useful information about the script, depending on its type.
- 
getDetails
- 
put
- 
getProjectName
- 
getLastExecutionThe timestamp when this script last executed, in ms.
- 
getDurationThe duration of the last execution of this script, in ms.- Returns:
- null if the script has not run.
 
- 
getErrorMessageThe last error message produced when this script was executed.- Returns:
- null if the script has not run, or if there was no error.
 
- 
isEnabledpublic boolean isEnabled()
 
-