Class RecordProperties


  • public class RecordProperties
    extends Object
    Properties of a record, imported from a json content
    • Method Detail

      • fromJson

        public static RecordProperties fromJson​(org.forgerock.json.JsonValue jsonProperties)
        Create a record properties from a json content
        Parameters:
        jsonProperties - a json value
        Returns:
        a record properties
        Throws:
        IllegalArgumentException - if there is an invalid or missing json property
      • toJson

        public static org.forgerock.json.JsonValue toJson​(RecordProperties recordProperties)
        Export a record properties into json
        Parameters:
        recordProperties - the record properties to export
        Returns:
        json representing the record properties
      • getIssueID

        public Long getIssueID()
        Get Issue ID
        Returns:
        the issue identifier
      • getReferenceID

        public String getReferenceID()
        Get Reference ID
        Returns:
        the reference identifier
      • getDescription

        public String getDescription()
        Get Description
        Returns:
        the description
      • isThreadDumpEnabled

        public Boolean isThreadDumpEnabled()
        is ThreadDump feature enable
        Returns:
        true if thread dump is enabled
      • getThreadDumpDelayInSeconds

        public Long getThreadDumpDelayInSeconds()
        Get ThreadDump delay between two threads dumps in seconds NB: Thread dump should be enable first
        Returns:
        the delay in seconds between two thread dumps
      • isConfigExportEnabled

        public Boolean isConfigExportEnabled()
        is config export feature enable
        Returns:
        true if configuration export is enabled
      • isConfigExportSharePasswordEnabled

        public Boolean isConfigExportSharePasswordEnabled()
        is share password enable
        Returns:
        true if the configuration export password is shared
      • getConfigExportPassword

        public String getConfigExportPassword()
        Get configuration export password NB: Config export should be enable first
        Returns:
        the configuration export password
      • getDebugLevel

        public DebugLevel getDebugLevel()
        Get debug level
        Returns:
        the debug level
      • isAutoStopEnabled

        public Boolean isAutoStopEnabled()
        Is auto stop feature enable
        Returns:
        true if the auto stop feature is enabled
      • isAutoStopTimeEnabled

        public Boolean isAutoStopTimeEnabled()
        Is auto stop time feature enable
        Returns:
        true if the auto stop time feature is enabled
      • getAutoStopTimeInMS

        public Long getAutoStopTimeInMS()
        Get auto stop time in milli-seconds NB: auto stop time should be enable first
        Returns:
        the auto stop time in milliseconds
      • isAutoStopFileSizeEnabled

        public Boolean isAutoStopFileSizeEnabled()
        is auto stop file size enable
        Returns:
        true if the auto stop file size feature is enabled
      • getAutoStopFileSizeInKB

        public Long getAutoStopFileSizeInKB()
        Get auto stop file size in KB NB: auto stop file size should be enable first
        Returns:
        the auto stop file size in kilobytes
      • isZipEnabled

        public Boolean isZipEnabled()
        is zip enable
        Returns:
        true if zipping the record output is enabled
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object