-
- All Implemented Interfaces:
public class RoutineManagerWith the routine manager you can divide long functions into sections which can then also be executed asynchronously. The functions and variables are actually self-explanatory.
-
-
Field Summary
Fields Modifier and Type Field Description private StringerrorMessageprivate Class<out Object>lastExecutedClassprivate HashMap<String, Object>lastObjectMap
-
Constructor Summary
Constructors Constructor Description RoutineManager(List<Routine> routineList)RoutineManager(List<Routine> routineList, Routine canceledRoutine)
-
Method Summary
Modifier and Type Method Description StringgetErrorMessage()Class<out Object>getLastExecutedClass()HashMap<String, Object>getLastObjectMap()voidstart()voidstart(HashMap<String, Object> objectMap)voidstartNotAsynchronously()voidstartNotAsynchronously(HashMap<String, Object> objectMap)voidstop()booleanisRunning()booleanisStarted()booleanisCanceled()-
-
Method Detail
-
getErrorMessage
String getErrorMessage()
-
getLastExecutedClass
Class<out Object> getLastExecutedClass()
-
getLastObjectMap
HashMap<String, Object> getLastObjectMap()
-
start
void start()
-
startNotAsynchronously
void startNotAsynchronously()
-
startNotAsynchronously
void startNotAsynchronously(HashMap<String, Object> objectMap)
-
stop
void stop()
-
isRunning
boolean isRunning()
-
isStarted
boolean isStarted()
-
isCanceled
boolean isCanceled()
-
-
-
-