Package com.vaadin.copilot
Record Class ComponentEventCollector
java.lang.Object
java.lang.Record
com.vaadin.copilot.ComponentEventCollector
public record ComponentEventCollector(com.vaadin.flow.server.VaadinContext vaadinContext)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionComponentEventCollector(com.vaadin.flow.server.VaadinContext vaadinContext) Creates an instance of aComponentEventCollectorrecord 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.static StringresolveErasedTypeName(io.github.classgraph.TypeSignature type) final StringtoString()Returns a string representation of this record class.com.vaadin.flow.server.VaadinContextReturns the value of thevaadinContextrecord component.
-
Constructor Details
-
ComponentEventCollector
public ComponentEventCollector(com.vaadin.flow.server.VaadinContext vaadinContext) Creates an instance of aComponentEventCollectorrecord class.- Parameters:
vaadinContext- the value for thevaadinContextrecord component
-
-
Method Details
-
getResult
-
resolveErasedTypeName
-
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). -
vaadinContext
public com.vaadin.flow.server.VaadinContext vaadinContext()Returns the value of thevaadinContextrecord component.- Returns:
- the value of the
vaadinContextrecord component
-