Package ch.rswk.meta.engine
Record Class LoggingService.LoggingServiceAlertConfig
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.LoggingService.LoggingServiceAlertConfig
- Enclosing class:
LoggingService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLoggingServiceAlertConfig(@Nullable String emailReceiver, @Nullable String smsReceiver) Creates an instance of aLoggingServiceAlertConfigrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of theemailReceiverrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable StringReturns the value of thesmsReceiverrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
emailReceiver
The field for theemailReceiverrecord component. -
smsReceiver
The field for thesmsReceiverrecord component.
-
-
Constructor Details
-
LoggingServiceAlertConfig
Creates an instance of aLoggingServiceAlertConfigrecord class.- Parameters:
emailReceiver- the value for theemailReceiverrecord componentsmsReceiver- the value for thesmsReceiverrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. All components in this record class are compared withObjects::equals(Object,Object). -
emailReceiver
Returns the value of theemailReceiverrecord component.- Returns:
- the value of the
emailReceiverrecord component
-
smsReceiver
Returns the value of thesmsReceiverrecord component.- Returns:
- the value of the
smsReceiverrecord component
-