Class ProjectScriptDiagnostic

java.lang.Object
com.inductiveautomation.ignition.common.script.ProjectScriptDiagnostic

public class ProjectScriptDiagnostic extends Object
Used in the gateway status section to show information about gateway-run project scripts.
  • Constructor Details

  • Method Details

    • getType

      public int getType()
    • getName

      public String getName()
    • get

      public String get(String key)
      Get some useful information about the script, depending on its type.
    • getDetails

      public Map<String,String> getDetails()
    • put

      public void put(String key, String value)
    • getProjectName

      public String getProjectName()
    • getLastExecution

      public Long getLastExecution()
      The timestamp when this script last executed, in ms.
    • getDuration

      public Long getDuration()
      The duration of the last execution of this script, in ms.
      Returns:
      null if the script has not run.
    • getErrorMessage

      public String getErrorMessage()
      The last error message produced when this script was executed.
      Returns:
      null if the script has not run, or if there was no error.
    • isEnabled

      public boolean isEnabled()