Package gda.jython


package gda.jython
  • Class
    Description
     
    Wrapper class to present multiple static methods as a PyObject that can be used as a builtin method.
    Utility methods for registering builtins.
    Class that overrides InteractiveConsole to allow customisation
    Annotation to be added to static methods to make them available as Jython builtins.
    Wrapper for the JythonInterpreter class.
    Extension of dictionary to use for python globals so that we can intercept sets and check that we're not overriding a protected name or aliased command.
    A builtin to provide a way for users to prevent names being overwritten.
    This class provides Jython API info which is looked up from the Eclipse extension point system.
    Implementation of IScriptService for GDA.
    Interface used by some classes to get authorisation Provided to ensure loose coupling between callers and command runner implementation
     
     
    Interface used by some classes to run a simple Jython command Provided to ensure loose coupling between callers and command runner implementation
    Interface used by some classes to control the current scan Provided to ensure loose coupling between callers and command runner implementation
    Interface used by some classes to set the current scan Provided to ensure loose coupling between callers and command runner implementation.
    Interface used by some classes to get the default scannable 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.
    A description of the context in which the Jython server is running.
    For objects with access to the Jython Server namespace.
    Interface used by some classes to notify the jython server 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.
    Class that can observe implementions of IJythonServerStatusProvider
    Informs observers of changes to JythonServerStatus events when the script or scan state changes
    Static methods to get current implementation for various interfaces supported by JythonServerFacade and JythonServer that are used by other classes in GDA.
    For classes who wish to observe scan data points distributed by an IScanDataPointProvider (e.g.
     
    Interface used by some classes to hold the scan status Provided to ensure loose coupling between callers and command runner implementation
    Interface used by some classes to holder the script status Provided to ensure loose coupling between callers and implementation
    Sends terminals input-type messages as byte[] (e.g.
    Sends terminals output-type messages through Terminal.write();
    Interface used by some classes to print to the client Terminal windows Provided to ensure loose coupling between callers and command runner implementation
    The interface implemented by JythonServerFacade through which other objects can observe it.
    The distributed interface for the JythonServer object.
    This controls the information given to the Jython engine (GDAJythonInterpreter).
    Base class for all the types of thread started by the JythonServer to run Jython commands.
    Provides a single point of access for the Jython package for all Java classes.
    Class which holds a snapshot of the state of the server.
    Maintains the status of the Jython server.
    JythonStatus represents the three possible states of a Jython script, scan or queue.
    Interface for the local JythonServer object.
    Mock implementation of interfaces usually provided by JythonServerFacade to be used when running tests outside of gda This implementation is used if you set the property JythonServerFacade.dummy to true
    This object is sent as an event when the panic stop button is pressed.
    Context manager for running PyTest in Jython
    Event broadcast by the JythonServer when haltCurrentScript is called.
    This class supplies a namespace for volatile variables which scripts may want to refer to while running.
    Implements a search path for Jython scripts, so the server and script commands can find scripts without knowing whether they belong to the user, the beamline or something else and without needing to know paths to the script folders.
     
     
    An interface for objects which register themselves with the JythonServerFacade and act like a terminal for that object.
     
     
    This object is sent when a UDC client has no more instructions to perform.
    This object is sent as an event when an error is encountered during unattended data collection
    This object is sent when a UDC client never enters the event loop as the conditions are not initially met.
    Object to be passed from JythonServer to Client when a user broadcasts a message to other users.
     
    This object is sent as an event when a client wants to change visit