-
- All Implemented Interfaces:
public class RoutineAnswerA data holder for the routines module. Is required as a return value in the run function of a routine instance.
-
-
Field Summary
Fields Modifier and Type Field Description private final HashMap<String, Object>objectMapprivate final Array<Routine>skippedRoutineprivate final StringerrorMessage
-
Constructor Summary
Constructors Constructor Description RoutineAnswer(HashMap<String, Object> objectMap)Create a routine answer. RoutineAnswer(HashMap<String, Object> objectMap, Array<Routine> skippedRoutine)Create a routine answer. RoutineAnswer(boolean stop)Create a routine answer. RoutineAnswer(boolean stop, String errorMessage)Create a routine answer. RoutineAnswer()Create a routine answer.
-
Method Summary
Modifier and Type Method Description HashMap<String, Object>getObjectMap()Array<Routine>getSkippedRoutine()StringgetErrorMessage()booleanisStop()-
-
Constructor Detail
-
RoutineAnswer
RoutineAnswer(HashMap<String, Object> objectMap)
Create a routine answer.- Parameters:
objectMap- The objectMap which is transmitted to the next function in the routine.
-
RoutineAnswer
RoutineAnswer(HashMap<String, Object> objectMap, Array<Routine> skippedRoutine)
Create a routine answer.
-
RoutineAnswer
RoutineAnswer(boolean stop)
Create a routine answer.
-
RoutineAnswer
RoutineAnswer(boolean stop, String errorMessage)
Create a routine answer.
-
RoutineAnswer
RoutineAnswer()
Create a routine answer.
-
-
Method Detail
-
getObjectMap
HashMap<String, Object> getObjectMap()
-
getSkippedRoutine
Array<Routine> getSkippedRoutine()
-
getErrorMessage
String getErrorMessage()
-
isStop
boolean isStop()
-
-
-
-