ActionsRecorderEntry
interface
Represents a recorded action entry with context and state information.
Properties
-
action : stringmodule:watchdog/actionsrecorderconfig~ActionsRecorderEntry#actionThe name of the action.
For example:
component.bold:executeMain action for toolbar buttonboldwas executed.commands.bold:executeTheboldcommand was executed.model.applyOperationThe low-level operation was applied to the model.observers:pasteThepasteDOM event was dispatched in the editing root.model.insertContentThemodel#insertContent()was called.model-selection:change:rangeThe model selection range was changed.
-
after : ActionsRecorderEntryEditorSnapshot | undefinedmodule:watchdog/actionsrecorderconfig~ActionsRecorderEntry#afterThe editor state after the action was executed.
-
module:watchdog/actionsrecorderconfig~ActionsRecorderEntry#beforeThe editor state before the action was executed.
-
error : any | undefinedmodule:watchdog/actionsrecorderconfig~ActionsRecorderEntry#errorThe error if the action throws one.
-
params : Array<any> | undefinedmodule:watchdog/actionsrecorderconfig~ActionsRecorderEntry#paramsParams provided for the executed action. They depend on the actual action.
-
parentEntry : ActionsRecorderEntry | undefinedmodule:watchdog/actionsrecorderconfig~ActionsRecorderEntry#parentEntryFor nested actions this is a reference to parent action (nesting of try-catch blocks).
For example when user clicks a button in a toolbar it could generate such nested tree:
component.bold:executecommands.bold:executemodel.applyOperation
-
result : any | undefinedmodule:watchdog/actionsrecorderconfig~ActionsRecorderEntry#resultThe result returned by the executed action. It depends on the actual action.
-
timeStamp : stringmodule:watchdog/actionsrecorderconfig~ActionsRecorderEntry#timeStampEntry timestamp in ISO date time format.