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 aLoggingServiceAlertConfig
record class. -
Method Summary
Modifier and TypeMethodDescription@Nullable String
Returns the value of theemailReceiver
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.@Nullable String
Returns the value of thesmsReceiver
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
emailReceiver
The field for theemailReceiver
record component. -
smsReceiver
The field for thesmsReceiver
record component.
-
-
Constructor Details
-
LoggingServiceAlertConfig
Creates an instance of aLoggingServiceAlertConfig
record class.- Parameters:
emailReceiver
- the value for theemailReceiver
record componentsmsReceiver
- the value for thesmsReceiver
record 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 theemailReceiver
record component.- Returns:
- the value of the
emailReceiver
record component
-
smsReceiver
Returns the value of thesmsReceiver
record component.- Returns:
- the value of the
smsReceiver
record component
-