Package gov.nasa.jpl.aerie.merlin.driver
Record Class SimulationResultsComputerInputs
java.lang.Object
java.lang.Record
gov.nasa.jpl.aerie.merlin.driver.SimulationResultsComputerInputs
public record SimulationResultsComputerInputs(SimulationEngine engine, Instant simulationStartTime, gov.nasa.jpl.aerie.merlin.protocol.driver.Topic<gov.nasa.jpl.aerie.types.ActivityDirectiveId> activityTopic, Iterable<MissionModel.SerializableTopic<?>> serializableTopics, Map<gov.nasa.jpl.aerie.types.ActivityDirectiveId,SpanId> activityDirectiveIdTaskIdMap, SimulationResourceManager resourceManager)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSimulationResultsComputerInputs(SimulationEngine engine, Instant simulationStartTime, gov.nasa.jpl.aerie.merlin.protocol.driver.Topic<gov.nasa.jpl.aerie.types.ActivityDirectiveId> activityTopic, Iterable<MissionModel.SerializableTopic<?>> serializableTopics, Map<gov.nasa.jpl.aerie.types.ActivityDirectiveId, SpanId> activityDirectiveIdTaskIdMap, SimulationResourceManager resourceManager) Creates an instance of aSimulationResultsComputerInputsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactivityDirectiveIdTaskIdMaprecord component.gov.nasa.jpl.aerie.merlin.protocol.driver.Topic<gov.nasa.jpl.aerie.types.ActivityDirectiveId> Returns the value of theactivityTopicrecord component.computeResults(Set<String> resourceNames) engine()Returns the value of theenginerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theresourceManagerrecord component.Returns the value of theserializableTopicsrecord component.Returns the value of thesimulationStartTimerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SimulationResultsComputerInputs
public SimulationResultsComputerInputs(SimulationEngine engine, Instant simulationStartTime, gov.nasa.jpl.aerie.merlin.protocol.driver.Topic<gov.nasa.jpl.aerie.types.ActivityDirectiveId> activityTopic, Iterable<MissionModel.SerializableTopic<?>> serializableTopics, Map<gov.nasa.jpl.aerie.types.ActivityDirectiveId, SpanId> activityDirectiveIdTaskIdMap, SimulationResourceManager resourceManager) Creates an instance of aSimulationResultsComputerInputsrecord class.- Parameters:
engine- the value for theenginerecord componentsimulationStartTime- the value for thesimulationStartTimerecord componentactivityTopic- the value for theactivityTopicrecord componentserializableTopics- the value for theserializableTopicsrecord componentactivityDirectiveIdTaskIdMap- the value for theactivityDirectiveIdTaskIdMaprecord componentresourceManager- the value for theresourceManagerrecord component
-
-
Method Details
-
computeResults
-
computeResults
-
computeActivitySimulationResults
-
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). -
engine
Returns the value of theenginerecord component.- Returns:
- the value of the
enginerecord component
-
simulationStartTime
Returns the value of thesimulationStartTimerecord component.- Returns:
- the value of the
simulationStartTimerecord component
-
activityTopic
public gov.nasa.jpl.aerie.merlin.protocol.driver.Topic<gov.nasa.jpl.aerie.types.ActivityDirectiveId> activityTopic()Returns the value of theactivityTopicrecord component.- Returns:
- the value of the
activityTopicrecord component
-
serializableTopics
Returns the value of theserializableTopicsrecord component.- Returns:
- the value of the
serializableTopicsrecord component
-
activityDirectiveIdTaskIdMap
Returns the value of theactivityDirectiveIdTaskIdMaprecord component.- Returns:
- the value of the
activityDirectiveIdTaskIdMaprecord component
-
resourceManager
Returns the value of theresourceManagerrecord component.- Returns:
- the value of the
resourceManagerrecord component
-