Package org.nuxeo.audit.api
Record Class AuditRouterIntrospection
java.lang.Object
java.lang.Record
org.nuxeo.audit.api.AuditRouterIntrospection
- All Implemented Interfaces:
Serializable
public record AuditRouterIntrospection(Set<String> events, List<AuditRouterIntrospection.RouteIntrospection> routes, List<AuditRouterIntrospection.BackendIntrospection> backends)
extends Record
implements Serializable
- Since:
- 2025.16
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionAuditRouterIntrospection(Set<String> events, List<AuditRouterIntrospection.RouteIntrospection> routes, List<AuditRouterIntrospection.BackendIntrospection> backends) Creates an instance of aAuditRouterIntrospectionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbackends()Returns the value of thebackendsrecord component.final booleanIndicates whether some other object is "equal to" this one.events()Returns the value of theeventsrecord component.final inthashCode()Returns a hash code value for this object.routes()Returns the value of theroutesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AuditRouterIntrospection
public AuditRouterIntrospection(Set<String> events, List<AuditRouterIntrospection.RouteIntrospection> routes, List<AuditRouterIntrospection.BackendIntrospection> backends) Creates an instance of aAuditRouterIntrospectionrecord class.- Parameters:
events- the value for theeventsrecord componentroutes- the value for theroutesrecord componentbackends- the value for thebackendsrecord 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). -
events
Returns the value of theeventsrecord component.- Returns:
- the value of the
eventsrecord component
-
routes
Returns the value of theroutesrecord component.- Returns:
- the value of the
routesrecord component
-
backends
Returns the value of thebackendsrecord component.- Returns:
- the value of the
backendsrecord component
-