Interface LogPropertyDescriptor
public interface LogPropertyDescriptor
-
Method Summary
Modifier and TypeMethodDescription@NonNull StringReturns 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.@NonNull Stringkey()Returns the key for the Log Property.values()Collects and returns the values for this key.
-
Method Details
-
key
@NonNull String key()Returns the key for the Log Property. The key may only exist once in theLogPropertyRegistry, and should not be null or empty. -
description
@NonNull String 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 emptyStringif 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.
-