Interface DebugRecorder
-
- All Known Implementing Classes:
DefaultDebugRecorder
public interface DebugRecorderManage the records.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RecordgetCurrentRecord()Get the current record if existvoidstartRecording(org.forgerock.json.JsonValue jsonProperties)Start recordingRecordstopRecording()Stop recording
-
-
-
Method Detail
-
startRecording
void startRecording(org.forgerock.json.JsonValue jsonProperties) throws RecordExceptionStart recording- Parameters:
jsonProperties- record json properties- Throws:
RecordException- if an error occurs while starting the recording
-
getCurrentRecord
Record getCurrentRecord()
Get the current record if exist- Returns:
- the current record or null if we are not recording
-
stopRecording
Record stopRecording() throws RecordException
Stop recording- Returns:
- the stopped record or null if we are not recording
- Throws:
RecordException- if an error occurs while stopping the recording
-
-