Class ConstraintsDSLCompilationService
java.lang.Object
gov.nasa.jpl.aerie.merlin.server.services.ConstraintsDSLCompilationService
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Constructor Summary
ConstructorsConstructorDescriptionConstraintsDSLCompilationService(TypescriptCodeGenerationServiceAdapter typescriptCodeGenerationService) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()compileConstraintsDSL(gov.nasa.jpl.aerie.types.MissionModelId missionModelId, Optional<PlanId> planId, Optional<SimulationDatasetId> simulationDatasetId, String constraintTypescript) NOTE: This method is not re-entrant (assumes only one call to this method is running at any given time)
-
Constructor Details
-
ConstraintsDSLCompilationService
public ConstraintsDSLCompilationService(TypescriptCodeGenerationServiceAdapter typescriptCodeGenerationService) throws IOException - Throws:
IOException
-
-
Method Details
-
close
public void close() -
compileConstraintsDSL
public ConstraintsDSLCompilationService.ConstraintsDSLCompilationResult compileConstraintsDSL(gov.nasa.jpl.aerie.types.MissionModelId missionModelId, Optional<PlanId> planId, Optional<SimulationDatasetId> simulationDatasetId, String constraintTypescript) throws MissionModelService.NoSuchMissionModelException, NoSuchPlanException NOTE: This method is not re-entrant (assumes only one call to this method is running at any given time)
-