Package gda.jython

Interface ICurrentScanInformationHolder

All Known Subinterfaces:
LocalJython
All Known Implementing Classes:
JythonServer, MockJythonServerFacade

public interface ICurrentScanInformationHolder
Interface used by some classes to set the current scan Provided to ensure loose coupling between callers and command runner implementation. The methods in this interface should be not distributed over Corba, but should only be used by objects local to the object implementing this interface, i.e. the methods should only be used in scans or during testing.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return some information about the currently running scan
    void
    Registers the supplied object as the scan currently running.
  • Method Details

    • setCurrentScan

      void setCurrentScan(Scan newScan)
      Registers the supplied object as the scan currently running. This is the scan which will be restarted by resumeCurrentScan if the status is HALTED.
      Parameters:
      newScan -
    • getCurrentScanInformation

      ScanInformation getCurrentScanInformation()
      Return some information about the currently running scan
      Returns:
      ScanInformation