Record Class PostgresSchedulingRequestNotificationPayload
java.lang.Object
java.lang.Record
gov.nasa.jpl.aerie.scheduler.worker.postgres.PostgresSchedulingRequestNotificationPayload
public record PostgresSchedulingRequestNotificationPayload(long specificationRevision, long planRevision, long specificationId, long analysisId)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPostgresSchedulingRequestNotificationPayload(long specificationRevision, long planRevision, long specificationId, long analysisId) Creates an instance of aPostgresSchedulingRequestNotificationPayloadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of theanalysisIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longReturns the value of theplanRevisionrecord component.longReturns the value of thespecificationIdrecord component.longReturns the value of thespecificationRevisionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PostgresSchedulingRequestNotificationPayload
public PostgresSchedulingRequestNotificationPayload(long specificationRevision, long planRevision, long specificationId, long analysisId) Creates an instance of aPostgresSchedulingRequestNotificationPayloadrecord class.- Parameters:
specificationRevision- the value for thespecificationRevisionrecord componentplanRevision- the value for theplanRevisionrecord componentspecificationId- the value for thespecificationIdrecord componentanalysisId- the value for theanalysisIdrecord 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 with '=='. -
specificationRevision
public long specificationRevision()Returns the value of thespecificationRevisionrecord component.- Returns:
- the value of the
specificationRevisionrecord component
-
planRevision
public long planRevision()Returns the value of theplanRevisionrecord component.- Returns:
- the value of the
planRevisionrecord component
-
specificationId
public long specificationId()Returns the value of thespecificationIdrecord component.- Returns:
- the value of the
specificationIdrecord component
-
analysisId
public long analysisId()Returns the value of theanalysisIdrecord component.- Returns:
- the value of the
analysisIdrecord component
-