RoutineAnswer

open class RoutineAnswer

A data holder for the routines module. Is required as a return value in the run function of a routine instance.

Constructors

Link copied to clipboard
open fun RoutineAnswer(objectMap: HashMap<String, Any>)
Create a routine answer.
Link copied to clipboard
open fun RoutineAnswer(objectMap: HashMap<String, Any>, skippedRoutine: Array<Routine>)
Create a routine answer.
Link copied to clipboard
open fun RoutineAnswer(stop: Boolean)
Create a routine answer.
Link copied to clipboard
open fun RoutineAnswer(stop: Boolean, errorMessage: String)
Create a routine answer.
Link copied to clipboard
open fun RoutineAnswer()
Create a routine answer.

Functions

Link copied to clipboard
open fun isStop(): Boolean

Properties

Link copied to clipboard
private val errorMessage: String
If the routine was canceled you can define here an error message.
Link copied to clipboard
private val objectMap: HashMap<String, Any>
The objectMap which is transmitted to the next function in the routine.
Link copied to clipboard
private val skippedRoutine: Array<Routine>
The routines in this list are skipped until a routine is found that is not on the list.