Interface PlanService
- All Known Implementing Classes:
LocalPlanService
public interface PlanService
-
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)
-
Method Details
-
getPlanForSimulation
- Throws:
NoSuchPlanException
-
getPlanForValidation
- Throws:
NoSuchPlanException
-
getPlanRevisionData
- Throws:
NoSuchPlanException
-
getConstraintsForPlan
- Throws:
NoSuchPlanException
-
addExternalDataset
long addExternalDataset(PlanId planId, Optional<SimulationDatasetId> simulationDatasetId, gov.nasa.jpl.aerie.types.Timestamp datasetStart, ProfileSet profileSet) throws NoSuchPlanException - Throws:
NoSuchPlanException
-
extendExternalDataset
void extendExternalDataset(DatasetId datasetId, ProfileSet profileSet) throws NoSuchPlanDatasetException - Throws:
NoSuchPlanDatasetException
-
getExternalDatasets
List<org.apache.commons.lang3.tuple.Pair<gov.nasa.jpl.aerie.merlin.protocol.types.Duration,ProfileSet>> getExternalDatasets(PlanId planId, SimulationDatasetId simulationDatasetId) throws NoSuchPlanException - Throws:
NoSuchPlanException
-
getExternalEvents
Map<String,List<gov.nasa.ammos.aerie.procedural.timeline.payloads.ExternalEvent>> getExternalEvents(PlanId planId, Instant horizonStart) throws NoSuchPlanException - Throws:
NoSuchPlanException
-
getExternalResourceSchemas
Map<String,gov.nasa.jpl.aerie.merlin.protocol.types.ValueSchema> getExternalResourceSchemas(PlanId planId, Optional<SimulationDatasetId> simulationDatasetId) throws NoSuchPlanException - Throws:
NoSuchPlanException
-