Class Record


  • public class Record
    extends Object
    Recording the OpenAM debug logs in a separate folder to investigate an issue.
    • Constructor Detail

      • Record

        public Record​(RecordProperties recordProperties,
                      String folderPath)
        Create a RecordDebug instance
        Parameters:
        recordProperties - the properties describing the record
        folderPath - the path of the folder where the record output is stored
    • Method Detail

      • getRecordProperties

        public RecordProperties getRecordProperties()
        Get the record properties
        Returns:
        the record properties
      • getFolderPath

        public String getFolderPath()
        Get the record folder path
        Returns:
        the record folder path
      • getRecordStatus

        public RecordStatus getRecordStatus()
        Get record status
        Returns:
        the current record status
      • startRecord

        public void startRecord()
        Start recording
      • stopRecord

        public void stopRecord()
        Stop recording
      • getRecordsHistory

        public Map<Date,​RecordStatus> getRecordsHistory()
        Get the history of the records
        Returns:
        the history of the record statuses keyed by date
      • exportJson

        public org.forgerock.json.JsonValue exportJson()
        Export into json.
        Returns:
        the JSON representation of this record