Class RecordProperties
- java.lang.Object
-
- org.forgerock.openam.core.rest.record.RecordProperties
-
public class RecordProperties extends Object
Properties of a record, imported from a json content
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static RecordPropertiesfromJson(org.forgerock.json.JsonValue jsonProperties)Create a record properties from a json contentLonggetAutoStopFileSizeInKB()Get auto stop file size in KB NB: auto stop file size should be enable firstLonggetAutoStopTimeInMS()Get auto stop time in milli-seconds NB: auto stop time should be enable firstStringgetConfigExportPassword()Get configuration export password NB: Config export should be enable firstDebugLevelgetDebugLevel()Get debug levelStringgetDescription()Get DescriptionLonggetIssueID()Get Issue IDStringgetReferenceID()Get Reference IDLonggetThreadDumpDelayInSeconds()Get ThreadDump delay between two threads dumps in seconds NB: Thread dump should be enable firstinthashCode()BooleanisAutoStopEnabled()Is auto stop feature enableBooleanisAutoStopFileSizeEnabled()is auto stop file size enableBooleanisAutoStopTimeEnabled()Is auto stop time feature enableBooleanisConfigExportEnabled()is config export feature enableBooleanisConfigExportSharePasswordEnabled()is share password enableBooleanisThreadDumpEnabled()is ThreadDump feature enableBooleanisZipEnabled()is zip enablestatic org.forgerock.json.JsonValuetoJson(RecordProperties recordProperties)Export a record properties into jsonStringtoString()
-
-
-
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:
trueif 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:
trueif configuration export is enabled
-
isConfigExportSharePasswordEnabled
public Boolean isConfigExportSharePasswordEnabled()
is share password enable- Returns:
trueif 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:
trueif the auto stop feature is enabled
-
isAutoStopTimeEnabled
public Boolean isAutoStopTimeEnabled()
Is auto stop time feature enable- Returns:
trueif 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:
trueif 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:
trueif zipping the record output is enabled
-
-