Class TaskRecord
java.lang.Object
ortus.boxlang.runtime.async.tasks.TaskRecord
The task record holds all the information of a living task in the scheduler.
-
Field Summary
FieldsModifier and TypeFieldDescriptionIf the task is disabledIf the task errored out when schedulingThe error message if anyThe future object for the taskTask groupThe inet hostThe inet addressTask nameThe registered date for the taskThe scheduled date for the taskThe stacktrace if anyThe task object -
Constructor Summary
ConstructorsConstructorDescriptionTaskRecord(String name, String group, ScheduledTask task) Construct the record -
Method Summary
-
Field Details
-
name
Task name -
group
Task group -
task
The task object -
future
The future object for the task -
scheduledAt
The scheduled date for the task -
registeredAt
The registered date for the task -
disabled
If the task is disabled -
error
If the task errored out when scheduling -
errorMessage
The error message if any -
stacktrace
The stacktrace if any -
inetHost
The inet host -
localIp
The inet address
-
-
Constructor Details
-
TaskRecord
Construct the record- Parameters:
name- The name of the taskgroup- The group of the tasktask- The task object
-
-
Method Details
-
asStruct
Return the record as a struct
-