Class ProjectScriptDiagnostic


  • public class ProjectScriptDiagnostic
    extends java.lang.Object
    Used in the gateway status section to show information about gateway-run project scripts.
    • Method Detail

      • getType

        public int getType()
      • getName

        public java.lang.String getName()
      • get

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

        public java.util.Map<java.lang.String,​java.lang.String> getDetails()
      • put

        public void put​(java.lang.String key,
                        java.lang.String value)
      • getProjectName

        public java.lang.String getProjectName()
      • getLastExecution

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

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

        public java.lang.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()