Package com.vaadin.flow.internal
Record Class JsStringFallbacks.Fallbacks
java.lang.Object
java.lang.Record
com.vaadin.flow.internal.JsStringFallbacks.Fallbacks
- Record Components:
calls- the methods that run JavaScript, by function identifierfunctions- the methods that return aJsFunction, by function identifierfilters- the declared filterseventData- the declared event data values
- Enclosing class:
JsStringFallbacks
public static record JsStringFallbacks.Fallbacks(Map<String,JsStringFallbacks.DeclaredMethod> calls, Map<String,JsStringFallbacks.DeclaredMethod> functions, Set<String> filters, Set<String> eventData)
extends Record
What the
JsStringFallback interfaces of an application declare.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalls()Returns the value of thecallsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theeventDatarecord component.filters()Returns the value of thefiltersrecord component.Returns the value of thefunctionsrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Fallbacks
public Fallbacks(Map<String, JsStringFallbacks.DeclaredMethod> calls, Map<String, JsStringFallbacks.DeclaredMethod> functions, Set<String> filters, Set<String> eventData) Creates an instance of aFallbacksrecord class.
-
-
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). -
calls
Returns the value of thecallsrecord component.- Returns:
- the value of the
callsrecord component
-
functions
Returns the value of thefunctionsrecord component.- Returns:
- the value of the
functionsrecord component
-
filters
Returns the value of thefiltersrecord component.- Returns:
- the value of the
filtersrecord component
-
eventData
Returns the value of theeventDatarecord component.- Returns:
- the value of the
eventDatarecord component
-