Record Class JobSchedule.Batch<JobRef>
java.lang.Object
java.lang.Record
gov.nasa.jpl.aerie.merlin.driver.engine.JobSchedule.Batch<JobRef>
- Enclosing class:
JobSchedule<JobRef,TimeRef extends SchedulingInstant>
-
Constructor Summary
Constructors -
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.jobs()Returns the value of thejobsrecord component.gov.nasa.jpl.aerie.merlin.protocol.types.DurationReturns the value of theoffsetFromStartrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Batch
Creates an instance of aBatchrecord class.- Parameters:
offsetFromStart- the value for theoffsetFromStartrecord componentjobs- the value for thejobsrecord 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). -
offsetFromStart
public gov.nasa.jpl.aerie.merlin.protocol.types.Duration offsetFromStart()Returns the value of theoffsetFromStartrecord component.- Returns:
- the value of the
offsetFromStartrecord component
-
jobs
Returns the value of thejobsrecord component.- Returns:
- the value of the
jobsrecord component
-