Class RecordReport


  • public class RecordReport
    extends Object
    Create reports for the logs
    • Constructor Detail

      • RecordReport

        public RecordReport()
    • Method Detail

      • infoReport

        public org.forgerock.json.JsonValue infoReport​(Record record)
        Create the infoReport
        Parameters:
        record - the record to build the report from
        Returns:
        the information report as a JSON value
      • getDateFromInfoReport

        public Date getDateFromInfoReport​(org.forgerock.json.JsonValue jsonRecordProperties)
                                   throws ParseException,
                                          org.forgerock.json.JsonValueException
        Get Date from info report
        Parameters:
        jsonRecordProperties - the JSON info report to extract the date from
        Returns:
        the date extracted from the info report
        Throws:
        ParseException - if the date cannot be parsed
        org.forgerock.json.JsonValueException
      • recordHistoryReport

        public String recordHistoryReport​(Record record)
        Create the history report
        Parameters:
        record - the record whose history is reported
        Returns:
        the history report as a formatted string
      • getThreadDump

        public String getThreadDump()