Class PostgresSpecificationRepository
java.lang.Object
gov.nasa.jpl.aerie.scheduler.server.remotes.postgres.PostgresSpecificationRepository
- All Implemented Interfaces:
SpecificationRepository
public final class PostgresSpecificationRepository
extends Object
implements SpecificationRepository
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGoal(gov.nasa.jpl.aerie.scheduler.model.GoalId goalId) getSpecification(SpecificationId specificationId) getSpecificationRevisionData(SpecificationId specificationId) voidupdateGoalParameterSchema(gov.nasa.jpl.aerie.scheduler.model.GoalId goalId, gov.nasa.jpl.aerie.merlin.protocol.types.ValueSchema schema)
-
Constructor Details
-
PostgresSpecificationRepository
-
-
Method Details
-
getSpecification
public Specification getSpecification(SpecificationId specificationId) throws NoSuchSpecificationException - Specified by:
getSpecificationin interfaceSpecificationRepository- Throws:
NoSuchSpecificationException
-
getSpecificationRevisionData
public SpecificationRevisionData getSpecificationRevisionData(SpecificationId specificationId) throws NoSuchSpecificationException - Specified by:
getSpecificationRevisionDatain interfaceSpecificationRepository- Throws:
NoSuchSpecificationException
-
getGoal
public GoalType getGoal(gov.nasa.jpl.aerie.scheduler.model.GoalId goalId) throws NoSuchSchedulingGoalException - Specified by:
getGoalin interfaceSpecificationRepository- Throws:
NoSuchSchedulingGoalException
-
updateGoalParameterSchema
public void updateGoalParameterSchema(gov.nasa.jpl.aerie.scheduler.model.GoalId goalId, gov.nasa.jpl.aerie.merlin.protocol.types.ValueSchema schema) - Specified by:
updateGoalParameterSchemain interfaceSpecificationRepository
-