Class PrometheusThreadLoadXMLFile
java.lang.Object
io.github.tonywasher.joceanus.prometheus.threads.PrometheusThreadLoadXMLFile
- All Implemented Interfaces:
TethysUIThread<PrometheusDataSet>
public class PrometheusThreadLoadXMLFile
extends Object
implements TethysUIThread<PrometheusDataSet>
LoaderThread extension to load an XML backup.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor (Event Thread). -
Method Summary
Modifier and TypeMethodDescriptionobtain the task name.performTask(TethysUIThreadManager pManager) Perform the task.voidprocessResult(PrometheusDataSet pResult) process result.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.tonywasher.joceanus.tethys.api.thread.TethysUIThread
interruptForCancel, prepareTask
-
Constructor Details
-
PrometheusThreadLoadXMLFile
Constructor (Event Thread).- Parameters:
pControl- data control
-
-
Method Details
-
getTaskName
Description copied from interface:TethysUIThreadobtain the task name.- Specified by:
getTaskNamein interfaceTethysUIThread<PrometheusDataSet>- Returns:
- the task name
-
performTask
Description copied from interface:TethysUIThreadPerform the task.- Specified by:
performTaskin interfaceTethysUIThread<PrometheusDataSet>- Parameters:
pManager- the thread manager- Returns:
- the result
- Throws:
OceanusException- on error
-
processResult
Description copied from interface:TethysUIThreadprocess result.- Specified by:
processResultin interfaceTethysUIThread<PrometheusDataSet>- Parameters:
pResult- the result
-