DashboardCanvasService.createAdaptersHistoriesCommand Method

Create a command to take a snapshot of the adapter. This function is slow, but reliable in restoring the state of an adapter.
 

Parameters

beforeStates

Type: HashTable
A mapping of the adapter and the Serialized JSON of the state of the adapters to record.
reason

Type: Array
A description for the reason of the snapshot.
options

Type: object - May be null
 (Optional) Options: 
     isUndo                  [type: "Boolean" default: "false"]  - True to designate this command as a result of an undo action.
     isRedo                  [type: "Boolean" default: "false"]  - True to designate this command as a result of a redo action.
 

Return Value


Type: UndoableCommand
The command.