java.lang.Object
com.vuze.plugins.mlab.MLabRunner.ToolRunImpl
- All Implemented Interfaces:
MLabRunner.ToolRun
- Enclosing class:
MLabRunner
Returned from runNDT
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanTrue once the test was cancelled.private List<MLabRunner.ToolRunListener> Listeners of the test's progress.Constructor Summary
ConstructorsMethod Summary
All MethodsModifier and TypeMethodDescriptionvoidAdd a listener for test eventsvoidcancel()Cancel the testThe current status
Field Details
listeners
Listeners of the test's progress.cancelled
private boolean cancelledTrue once the test was cancelled.
Constructor Details
ToolRunImpl
private ToolRunImpl()Runs one measurement tool.
Method Details
cancel
public void cancel()Description copied from interface:MLabRunner.ToolRunCancel the test- Specified by:
cancelin interfaceMLabRunner.ToolRun
addListener
Description copied from interface:MLabRunner.ToolRunAdd a listener for test events- Specified by:
addListenerin interfaceMLabRunner.ToolRun- Parameters:
l- listener to notify when the test is cancelled
getStatus
Description copied from interface:MLabRunner.ToolRunThe current status- Specified by:
getStatusin interfaceMLabRunner.ToolRun- Returns:
- the test status, empty when no test has been started