Package com.technia.tif.enovia.messaging
Record Class MessageContext.AfterCompleteContext
java.lang.Object
java.lang.Record
com.technia.tif.enovia.messaging.MessageContext.AfterCompleteContext
- Record Components:
job- the job associated with this post-processing context
- Enclosing interface:
- MessageContext<T>
public static record MessageContext.AfterCompleteContext(com.technia.tif.enovia.model.Job job)
extends Record
Post-processing context associated with a completed job.
This record wraps a Job instance and is typically used to provide
contextual information to post-execution handling logic.
-
Constructor Summary
ConstructorsConstructorDescriptionAfterCompleteContext(com.technia.tif.enovia.model.Job job) Creates an instance of aAfterCompleteContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.com.technia.tif.enovia.model.Jobjob()Returns the value of thejobrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AfterCompleteContext
public AfterCompleteContext(com.technia.tif.enovia.model.Job job) Creates an instance of aAfterCompleteContextrecord class.- Parameters:
job- the value for thejobrecord 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). -
job
public com.technia.tif.enovia.model.Job job()Returns the value of thejobrecord component.- Returns:
- the value of the
jobrecord component
-