Package dev.dsf.bpe.v2.activity.task
Record Class DefaultTaskSender.TaskAndConfig
java.lang.Object
java.lang.Record
dev.dsf.bpe.v2.activity.task.DefaultTaskSender.TaskAndConfig
- Enclosing class:
DefaultTaskSender
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TaskAndConfig
(org.hl7.fhir.r4.model.Task task, String instantiatesCanonical, String organizationIdentifierValue, String endpointIdentifierValue, String endpointUrl, String businessKey, String correlationKey, String messageName) Creates an instance of aTaskAndConfig
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebusinessKey
record component.Returns the value of thecorrelationKey
record component.Returns the value of theendpointIdentifierValue
record component.Returns the value of theendpointUrl
record component.final 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.Returns the value of theorganizationIdentifierValue
record component.org.hl7.fhir.r4.model.Task
task()
Returns the value of thetask
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
TaskAndConfig
protected TaskAndConfig(org.hl7.fhir.r4.model.Task task, String instantiatesCanonical, String organizationIdentifierValue, String endpointIdentifierValue, String endpointUrl, String businessKey, String correlationKey, String messageName) Creates an instance of aTaskAndConfig
record class.- Parameters:
task
- the value for thetask
record componentinstantiatesCanonical
- the value for theinstantiatesCanonical
record componentorganizationIdentifierValue
- the value for theorganizationIdentifierValue
record componentendpointIdentifierValue
- the value for theendpointIdentifierValue
record componentendpointUrl
- the value for theendpointUrl
record componentbusinessKey
- the value for thebusinessKey
record componentcorrelationKey
- the value for thecorrelationKey
record componentmessageName
- the value for themessageName
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)
. -
task
public org.hl7.fhir.r4.model.Task task()Returns the value of thetask
record component.- Returns:
- the value of the
task
record component
-
instantiatesCanonical
Returns the value of theinstantiatesCanonical
record component.- Returns:
- the value of the
instantiatesCanonical
record component
-
organizationIdentifierValue
Returns the value of theorganizationIdentifierValue
record component.- Returns:
- the value of the
organizationIdentifierValue
record component
-
endpointIdentifierValue
Returns the value of theendpointIdentifierValue
record component.- Returns:
- the value of the
endpointIdentifierValue
record component
-
endpointUrl
Returns the value of theendpointUrl
record component.- Returns:
- the value of the
endpointUrl
record component
-
businessKey
Returns the value of thebusinessKey
record component.- Returns:
- the value of the
businessKey
record component
-
correlationKey
Returns the value of thecorrelationKey
record component.- Returns:
- the value of the
correlationKey
record component
-
messageName
Returns the value of themessageName
record component.- Returns:
- the value of the
messageName
record component
-