Package gda.jython

Class JythonServerStatus

java.lang.Object
gda.jython.JythonServerStatus
All Implemented Interfaces:
Serializable

public class JythonServerStatus extends Object implements Serializable
Class which holds a snapshot of the state of the server. Used by classes to inform each other of the server state changing.
See Also:
  • Field Details

    • scriptStatus

      public final JythonStatus scriptStatus
      Status of the currently running script
    • scanStatus

      public final JythonStatus scanStatus
      Status of the currently running scan (only one can run at once).
    • scriptName

      public final String scriptName
      Name of the currently running script - null if no script is running
  • Constructor Details

  • Method Details

    • isScriptOrScanPaused

      public boolean isScriptOrScanPaused()
    • areScriptAndScanIdle

      public boolean areScriptAndScanIdle()
    • getScriptName

      public Optional<String> getScriptName()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object