Package ch.rswk.meta.engine
Record Class WatchdogService.WatchdogServiceCheckConfig
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.WatchdogService.WatchdogServiceCheckConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for thealertsrecord component.The field for theengineIdsrecord component.private final intThe field for theretentionrecord component.private final @Nullable IntegerThe field for theschedulerecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalerts()Returns the value of thealertsrecord component.Returns the value of theengineIdsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of theretentionrecord component.@Nullable Integerschedule()Returns the value of theschedulerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
alerts
-
engineIds
-
retention
private final int retentionThe field for theretentionrecord component. -
schedule
The field for theschedulerecord component.
-
-
Constructor Details
-
WatchdogServiceCheckConfig
public WatchdogServiceCheckConfig(@Nullable Set<String> alerts, Set<String> engineIds, int retention, @Nullable Integer schedule) Creates an instance of aWatchdogServiceCheckConfigrecord class.- Parameters:
alerts- the value for thealertsrecord componentengineIds- the value for theengineIdsrecord componentretention- the value for theretentionrecord componentschedule- the value for theschedulerecord 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 '=='. -
alerts
-
engineIds
-
retention
public int retention()Returns the value of theretentionrecord component.- Returns:
- the value of the
retentionrecord component
-
schedule
Returns the value of theschedulerecord component.- Returns:
- the value of the
schedulerecord component
-