Record Class ApplicationClassGenerator.ServiceBindingInfo
java.lang.Object
java.lang.Record
org.ek9lang.compiler.backend.jvm.ApplicationClassGenerator.ServiceBindingInfo
- Record Components:
fieldName- the EK9 FQN used as the _Application field namerouteDetails- the IR route metadata for the service
- Enclosing class:
ApplicationClassGenerator
public static record ApplicationClassGenerator.ServiceBindingInfo(String fieldName, ServiceRouteDetails routeDetails)
extends Record
Binding information for a service registration that has HTTP routes.
-
Constructor Summary
ConstructorsConstructorDescriptionServiceBindingInfo(String fieldName, ServiceRouteDetails routeDetails) Creates an instance of aServiceBindingInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefieldNamerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of therouteDetailsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ServiceBindingInfo
Creates an instance of aServiceBindingInforecord class.- Parameters:
fieldName- the value for thefieldNamerecord componentrouteDetails- the value for therouteDetailsrecord 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). -
fieldName
-
routeDetails
Returns the value of therouteDetailsrecord component.- Returns:
- the value of the
routeDetailsrecord component
-