public class DebugConfigurationFromProperties extends Object implements DebugConfiguration
| Constructor and Description |
|---|
DebugConfigurationFromProperties(String debugFilePropertiesPath)
initialize the properties
It will reset the current properties for every Debug instance
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDebugPrefix()
Get the debug prefix configuration
|
String |
getDebugSuffix()
Get the debug suffix configuration
Suffix is an empty string or contains a date format if the
rotation interval is enable (rotation interval > 0)
|
long |
getRotationFileSizeInByte()
get size rotation in byte
|
int |
getRotationInterval()
get rotation interval in minute
Rotation interval can't be <= 0
|
String |
toString() |
public DebugConfigurationFromProperties(String debugFilePropertiesPath) throws InvalidDebugConfigurationException
debugFilePropertiesPath - path to the debug configuration fileInvalidDebugConfigurationExceptionpublic String getDebugPrefix()
DebugConfigurationgetDebugPrefix in interface DebugConfigurationpublic String getDebugSuffix()
DebugConfigurationgetDebugSuffix in interface DebugConfigurationpublic int getRotationInterval()
DebugConfigurationgetRotationInterval in interface DebugConfigurationpublic long getRotationFileSizeInByte()
DebugConfigurationgetRotationFileSizeInByte in interface DebugConfigurationCopyright © 2010–2023 Open Identity Platform Community. All rights reserved.