Enum Class RollingPolicySystemProperty
java.lang.Object
java.lang.Enum<RollingPolicySystemProperty>
org.springframework.boot.logging.logback.RollingPolicySystemProperty
- All Implemented Interfaces:
Serializable
,Comparable<RollingPolicySystemProperty>
,Constable
Logback rolling policy system properties that can later be used by log configuration
files.
- Since:
- 3.2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionLogging system property for the clean history on start flag.Logging system property for the rolled-over log file name pattern.Logging system property for the file log max size.Logging system property for the file log max history.Logging system property for the file total size cap. -
Method Summary
Modifier and TypeMethodDescriptionReturn the name of environment variable that can be used to access this property.static RollingPolicySystemProperty
Returns the enum constant of this class with the specified name.static RollingPolicySystemProperty[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FILE_NAME_PATTERN
Logging system property for the rolled-over log file name pattern. -
CLEAN_HISTORY_ON_START
Logging system property for the clean history on start flag. -
MAX_FILE_SIZE
Logging system property for the file log max size. -
TOTAL_SIZE_CAP
Logging system property for the file total size cap. -
MAX_HISTORY
Logging system property for the file log max history.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getEnvironmentVariableName
Return the name of environment variable that can be used to access this property.- Returns:
- the environment variable name
-