Class LocalPlanService
java.lang.Object
gov.nasa.jpl.aerie.merlin.server.services.LocalPlanService
- All Implemented Interfaces:
PlanService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongaddExternalDataset(PlanId planId, Optional<SimulationDatasetId> simulationDatasetId, gov.nasa.jpl.aerie.types.Timestamp datasetStart, ProfileSet profileSet) voidextendExternalDataset(DatasetId datasetId, ProfileSet profileSet) getConstraintsForPlan(PlanId planId) List<org.apache.commons.lang3.tuple.Pair<gov.nasa.jpl.aerie.merlin.protocol.types.Duration, ProfileSet>> getExternalDatasets(PlanId planId, SimulationDatasetId simulationDatasetId) getExternalEvents(PlanId planId, Instant horizonStart) getExternalResourceSchemas(PlanId planId, Optional<SimulationDatasetId> simulationDatasetId) gov.nasa.jpl.aerie.types.PlangetPlanForSimulation(PlanId planId) gov.nasa.jpl.aerie.types.PlangetPlanForValidation(PlanId planId) getPlanRevisionData(PlanId planId)
-
Constructor Details
-
LocalPlanService
-
-
Method Details
-
getPlanForSimulation
- Specified by:
getPlanForSimulationin interfacePlanService- Throws:
NoSuchPlanException
-
getPlanForValidation
- Specified by:
getPlanForValidationin interfacePlanService- Throws:
NoSuchPlanException
-
getPlanRevisionData
- Specified by:
getPlanRevisionDatain interfacePlanService- Throws:
NoSuchPlanException
-
getConstraintsForPlan
- Specified by:
getConstraintsForPlanin interfacePlanService- Throws:
NoSuchPlanException
-
addExternalDataset
public long addExternalDataset(PlanId planId, Optional<SimulationDatasetId> simulationDatasetId, gov.nasa.jpl.aerie.types.Timestamp datasetStart, ProfileSet profileSet) throws NoSuchPlanException - Specified by:
addExternalDatasetin interfacePlanService- Throws:
NoSuchPlanException
-
extendExternalDataset
public void extendExternalDataset(DatasetId datasetId, ProfileSet profileSet) throws NoSuchPlanDatasetException - Specified by:
extendExternalDatasetin interfacePlanService- Throws:
NoSuchPlanDatasetException
-
getExternalDatasets
public List<org.apache.commons.lang3.tuple.Pair<gov.nasa.jpl.aerie.merlin.protocol.types.Duration,ProfileSet>> getExternalDatasets(PlanId planId, SimulationDatasetId simulationDatasetId) throws NoSuchPlanException - Specified by:
getExternalDatasetsin interfacePlanService- Throws:
NoSuchPlanException
-
getExternalEvents
public Map<String,List<gov.nasa.ammos.aerie.procedural.timeline.payloads.ExternalEvent>> getExternalEvents(PlanId planId, Instant horizonStart) throws NoSuchPlanException - Specified by:
getExternalEventsin interfacePlanService- Throws:
NoSuchPlanException
-
getExternalResourceSchemas
public Map<String,gov.nasa.jpl.aerie.merlin.protocol.types.ValueSchema> getExternalResourceSchemas(PlanId planId, Optional<SimulationDatasetId> simulationDatasetId) throws NoSuchPlanException - Specified by:
getExternalResourceSchemasin interfacePlanService- Throws:
NoSuchPlanException
-