Record Class TestServiceListener.TestServiceListenerModel
java.lang.Object
java.lang.Record
org.frankframework.console.controllers.TestServiceListener.TestServiceListenerModel
- Enclosing class:
TestServiceListener
-
Constructor Summary
ConstructorsConstructorDescriptionTestServiceListenerModel(String service, String encoding, org.springframework.web.multipart.MultipartFile file, org.springframework.web.multipart.MultipartFile message) Creates an instance of aTestServiceListenerModelrecord class. -
Method Summary
Modifier and TypeMethodDescriptionencoding()Returns the value of theencodingrecord component.final booleanIndicates whether some other object is "equal to" this one.org.springframework.web.multipart.MultipartFilefile()Returns the value of thefilerecord component.final inthashCode()Returns a hash code value for this object.org.springframework.web.multipart.MultipartFilemessage()Returns the value of themessagerecord component.service()Returns the value of theservicerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TestServiceListenerModel
public TestServiceListenerModel(String service, String encoding, org.springframework.web.multipart.MultipartFile file, org.springframework.web.multipart.MultipartFile message) Creates an instance of aTestServiceListenerModelrecord class.- Parameters:
service- the value for theservicerecord componentencoding- the value for theencodingrecord componentfile- the value for thefilerecord componentmessage- the value for themessagerecord 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). -
service
Returns the value of theservicerecord component.- Returns:
- the value of the
servicerecord component
-
encoding
Returns the value of theencodingrecord component.- Returns:
- the value of the
encodingrecord component
-
file
public org.springframework.web.multipart.MultipartFile file()Returns the value of thefilerecord component.- Returns:
- the value of the
filerecord component
-
message
public org.springframework.web.multipart.MultipartFile message()Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-