Package dev.dsf.bpe.v2.activity.values
Record Class SendTaskValues
java.lang.Object
java.lang.Record
dev.dsf.bpe.v2.activity.values.SendTaskValues
-
Constructor Summary
ConstructorsConstructorDescriptionSendTaskValues
(String instantiatesCanonical, String messageName, String profile) Creates an instance of aSendTaskValues
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theinstantiatesCanonical
record component.Returns the value of themessageName
record component.profile()
Returns the value of theprofile
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
SendTaskValues
Creates an instance of aSendTaskValues
record class.- Parameters:
instantiatesCanonical
- the value for theinstantiatesCanonical
record componentmessageName
- the value for themessageName
record componentprofile
- the value for theprofile
record 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)
. -
instantiatesCanonical
Returns the value of theinstantiatesCanonical
record component.- Returns:
- the value of the
instantiatesCanonical
record component
-
messageName
Returns the value of themessageName
record component.- Returns:
- the value of the
messageName
record component
-
profile
Returns the value of theprofile
record component.- Returns:
- the value of the
profile
record component
-