Record Class ScheduleAction.Response.Pending
java.lang.Object
java.lang.Record
gov.nasa.jpl.aerie.scheduler.server.services.ScheduleAction.Response.Pending
- All Implemented Interfaces:
ScheduleAction.Response
- Enclosing interface:
ScheduleAction.Response
public static record ScheduleAction.Response.Pending(long analysisId)
extends Record
implements ScheduleAction.Response
Scheduler has enqueued this request.
-
Nested Class Summary
Nested classes/interfaces inherited from interface gov.nasa.jpl.aerie.scheduler.server.services.ScheduleAction.Response
ScheduleAction.Response.Complete, ScheduleAction.Response.Failed, ScheduleAction.Response.Incomplete, ScheduleAction.Response.Pending -
Constructor Summary
Constructors -
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.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Pending
public Pending(long analysisId) Creates an instance of aPendingrecord class.- Parameters:
analysisId- 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 '=='. -
analysisId
public long analysisId()Returns the value of theanalysisIdrecord component.- Returns:
- the value of the
analysisIdrecord component
-