Interface DebugRecorder

  • All Known Implementing Classes:
    DefaultDebugRecorder

    public interface DebugRecorder
    Manage the records.
    • Method Detail

      • startRecording

        void startRecording​(org.forgerock.json.JsonValue jsonProperties)
                     throws RecordException
        Start 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