Interface LogPropertyDescriptor
public interface LogPropertyDescriptor
-
Method Summary
Modifier and TypeMethodDescriptionReturns the localized description of this property, which should be a short sentence tha may provide information about the system or area in which this LogProperty key is relevant.key()
Returns the key for the Log Property.values()
Collects and returns the values for this key.
-
Method Details
-
key
Returns the key for the Log Property. The key may only exist once in theLogPropertyRegistry
, and should not be null or empty. -
description
Returns the localized description of this property, which should be a short sentence tha may provide information about the system or area in which this LogProperty key is relevant. Should return an emptyString
if no description is available. -
values
Collects and returns the values for this key. If no values exist, should return an emptyList
. Default implementation allows for descriptor implementations that may want to only provide a key.- Returns:
- a list of values, or an empty list. Should not return null.
-