Record Class DirectTriggerService.Tracked
java.lang.Object
java.lang.Record
org.chenile.trigger.DirectTriggerService.Tracked
- Enclosing class:
DirectTriggerService
private static record DirectTriggerService.Tracked(String tenant, TriggerStatus status)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TriggerStatusThe field for thestatusrecord component.private final StringThe field for thetenantrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateTracked(String tenant, TriggerStatus status) Creates an instance of aTrackedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.status()Returns the value of thestatusrecord component.tenant()Returns the value of thetenantrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
tenant
The field for thetenantrecord component. -
status
The field for thestatusrecord component.
-
-
Constructor Details
-
Tracked
Creates an instance of aTrackedrecord class.- Parameters:
tenant- the value for thetenantrecord componentstatus- the value for thestatusrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
tenant
Returns the value of thetenantrecord component.- Returns:
- the value of the
tenantrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
CHENILE