Class QueuedScanRepeatHandler
java.lang.Object
org.eclipse.scanning.event.ui.view.QueuedScanRepeatHandler
- All Implemented Interfaces:
IHandler<StatusBean>,IRerunHandler<StatusBean>
This rerun handler asks the user to specify number of repetitions of the scan they want to submit.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StatusBeanduplicate(StatusBean bean) booleanhandleRerun(List<StatusBean> scans) Called to rerun the selected beans.voidinit(IEventService eventService, JobQueueConfiguration conf) booleanisHandled(StatusBean bean) Defines if this handler can open the result in this bean.
-
Constructor Details
-
QueuedScanRepeatHandler
public QueuedScanRepeatHandler()
-
-
Method Details
-
init
- Specified by:
initin interfaceIHandler<StatusBean>
-
isHandled
Description copied from interface:IHandlerDefines if this handler can open the result in this bean.- Specified by:
isHandledin interfaceIHandler<StatusBean>- Parameters:
bean-- Returns:
-
handleRerun
Description copied from interface:IRerunHandlerCalled to rerun the selected beans.- Specified by:
handleRerunin interfaceIRerunHandler<StatusBean>- Parameters:
scans-- Returns:
- true if result open handled ok, false otherwise. Normally if the user chooses not to proceed true is still returned.
- Throws:
Exception- if something unexpected goes wrong
-
duplicate
- Throws:
Exception
-