Package ch.rswk.meta.engine
Record Class LoggingService.LoggingServiceConfig
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.LoggingService.LoggingServiceConfig
- Enclosing class:
LoggingService
public static record LoggingService.LoggingServiceConfig(@Nullable LoggingService.LoggingServiceAlertConfig alert, @Nullable Map<String,String> loggers, String luceneIndexDir, int retention, @Nullable List<LoggingService.LoggingServiceRetentionPathConfig> retentionPaths, @Nullable List<String> unhealthyFiles)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable LoggingService.LoggingServiceAlertConfigThe field for thealertrecord component.The field for theloggersrecord component.private final StringThe field for theluceneIndexDirrecord component.private final intThe field for theretentionrecord component.private final @Nullable List<LoggingService.LoggingServiceRetentionPathConfig> The field for theretentionPathsrecord component.The field for theunhealthyFilesrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionLoggingServiceConfig(@Nullable LoggingService.LoggingServiceAlertConfig alert, @Nullable Map<String, String> loggers, String luceneIndexDir, int retention, @Nullable List<LoggingService.LoggingServiceRetentionPathConfig> retentionPaths, @Nullable List<String> unhealthyFiles) Creates an instance of aLoggingServiceConfigrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable LoggingService.LoggingServiceAlertConfigalert()Returns the value of thealertrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.loggers()Returns the value of theloggersrecord component.Returns the value of theluceneIndexDirrecord component.intReturns the value of theretentionrecord component.Returns the value of theretentionPathsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theunhealthyFilesrecord component.
-
Field Details
-
alert
The field for thealertrecord component. -
loggers
-
luceneIndexDir
The field for theluceneIndexDirrecord component. -
retention
private final int retentionThe field for theretentionrecord component. -
retentionPaths
The field for theretentionPathsrecord component. -
unhealthyFiles
-
-
Constructor Details
-
LoggingServiceConfig
public LoggingServiceConfig(@Nullable LoggingService.LoggingServiceAlertConfig alert, @Nullable Map<String, String> loggers, String luceneIndexDir, int retention, @Nullable List<LoggingService.LoggingServiceRetentionPathConfig> retentionPaths, @Nullable List<String> unhealthyFiles) Creates an instance of aLoggingServiceConfigrecord class.- Parameters:
alert- the value for thealertrecord componentloggers- the value for theloggersrecord componentluceneIndexDir- the value for theluceneIndexDirrecord componentretention- the value for theretentionrecord componentretentionPaths- the value for theretentionPathsrecord componentunhealthyFiles- the value for theunhealthyFilesrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
alert
Returns the value of thealertrecord component.- Returns:
- the value of the
alertrecord component
-
loggers
-
luceneIndexDir
Returns the value of theluceneIndexDirrecord component.- Returns:
- the value of the
luceneIndexDirrecord component
-
retention
public int retention()Returns the value of theretentionrecord component.- Returns:
- the value of the
retentionrecord component
-
retentionPaths
Returns the value of theretentionPathsrecord component.- Returns:
- the value of the
retentionPathsrecord component
-
unhealthyFiles
-