Method Summary
All Methods Instance Methods Abstract Methods Default Methods
void
Request the data collection process stops after the current collection completes.
void
Request the data collection process stops after all currently running tasks complete."
Get a list of all closed shutters and valve for the purpose of beam check.
Get a string representation for any error that stopped data collection
Get the current status of the data collection process.
Get a map representing the dependencies between the current tasks.
boolean
Check if the data collection process was started with beam checks enabled.
boolean
Get a list of all the tasks for the current data collection.
void
Attempt to open the specified shutters.
default void
Asynchronously start the data collection process with beam checks enabled.
void
start (boolean enableBeamMonitor)
Asynchronously start the data collection process.
void
Request the data collection process stops immediately, interrupting currently running jobs.
Method Details
start
default void start ()
Asynchronously start the data collection process with beam checks enabled.
start
void start (boolean enableBeamMonitor)
Asynchronously start the data collection process.
Parameters:
enableBeamMonitor - Enable checks for beam delivery.
stop
void stop ()
Request the data collection process stops immediately, interrupting currently running jobs.
The processor will only report "stopped" when all tasks have stopped.
isRunning
boolean isRunning ()
Returns:
true if the data collection processor is running
isEnableBeamMonitor
boolean isEnableBeamMonitor ()
Check if the data collection process was started with beam checks enabled.
getStatus
Get the current status of the data collection process.
Returns:
ProcessStatus for current run/stopped state.
getError
Get a string representation for any error that stopped data collection
Returns:
Error string
finishCurrentDataCollection
void finishCurrentDataCollection ()
Request the data collection process stops after the current collection completes.
finishCurrentTasks
void finishCurrentTasks ()
Request the data collection process stops after all currently running tasks complete."
listCurrentTasks
Get a list of all the tasks for the current data collection.
Returns:
List of TaskInfo for current tasks.
getTaskDependencies
Get a map representing the dependencies between the current tasks.
Returns:
Map for Task names to the names of its dependencies.
getClosedShutters
Get a list of all closed shutters and valve for the purpose of beam check.
Returns:
list of Scannable bean names, or empty
openShutters
Attempt to open the specified shutters.
Results in ShutterClosedEvent being raised with the outcome of opening the shutters.
Parameters:
shutterIds - List of the shutter device bean ids