DataCubeCanvasService.takeAdaptersSnapshot Method

Take a snapshot of the adapter specified as the key of .
 

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.
doNotExecute

Type: Boolean
If set to true, the command will only be returned and not executed by the command service.

Return Value


Type: UndoableCommand
The command. 

Remarks

This function is slow, but reliable in restoring the state of an adapters.