Package jisa.experiment.queue
Class MeasurementSubAction
- java.lang.Object
-
- jisa.experiment.queue.AbstractAction<java.lang.Void>
-
- jisa.experiment.queue.SimpleAction
-
- jisa.experiment.queue.MeasurementSubAction
-
- All Implemented Interfaces:
java.io.Serializable
,Action<java.lang.Void>
public class MeasurementSubAction extends SimpleAction
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jisa.experiment.queue.Action
Action.Status
-
-
Constructor Summary
Constructors Constructor Description MeasurementSubAction(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
complete()
void
fail()
void
start()
Runs the action.-
Methods inherited from class jisa.experiment.queue.SimpleAction
copy, getChildren, getData, getDisplay, getError, isRunning, reset, skip, stop
-
Methods inherited from class jisa.experiment.queue.AbstractAction
addAttributeListener, addChildrenListener, addNameListener, addStatusListener, addTag, childrenChanged, clearTags, copyBasicParametersTo, getAttribute, getAttributes, getName, getStatus, getStatusListeners, getTags, hasAttribute, isCritical, onFinish, onStart, removeAttribute, removeListener, removeTag, setAttribute, setCritical, setName, setOnEdit, setOnFinish, setOnStart, setStatus, userEdit
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jisa.experiment.queue.Action
addListener, getAttributeString, getAttributeString, resume
-
-
-
-
Method Detail
-
start
public void start()
Description copied from interface:Action
Runs the action. Should only return once the action is complete/interrupted/failed.- Specified by:
start
in interfaceAction<java.lang.Void>
- Overrides:
start
in classSimpleAction
-
fail
public void fail()
-
complete
public void complete()
-
-