-
- All Implemented Interfaces:
public class RoutineManager
With 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 String
errorMessage
private Class<out Object>
lastExecutedClass
private 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 String
getErrorMessage()
Class<out Object>
getLastExecutedClass()
HashMap<String, Object>
getLastObjectMap()
void
start()
void
start(HashMap<String, Object> objectMap)
void
startNotAsynchronously()
void
startNotAsynchronously(HashMap<String, Object> objectMap)
void
stop()
boolean
isRunning()
boolean
isStarted()
boolean
isCanceled()
-
-
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()
-
-
-
-