Package fr.ifremer.isisfish.actions
Class ValidateSimulationAction
java.lang.Object
fr.ifremer.isisfish.actions.ValidateSimulationAction
Check that there are no regressions.
Monitor execution.
-
Field Summary
Modifier and TypeFieldDescriptionprotected IsisConfig
protected static ResultStorage
results from validated simulation -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
simulateWithSimulation
(String simulationId, File simulationZip) Launch a simulation with specified simulationId and simulation zip.static void
validateResults
(ResultStorage newResultStorage) Compare result simulation from the validated ones.static void
validateSimulation
(String simulationName) Launch a simulation with simulation params the similutaion at the given path.static void
validateWithSimulationAndScript
(String simulationId, File simulationZip, File simulationPrescript) Launch a simulation with specified simulationId, simulationZip and simulationPrescript.
-
Field Details
-
config
-
validatedResultStorage
results from validated simulation
-
-
Constructor Details
-
ValidateSimulationAction
-
-
Method Details
-
validateSimulation
Launch a simulation with simulation params the similutaion at the given path.- Parameters:
simulationName
- name of the simulation reference.- Throws:
Exception
-
simulateWithSimulation
Launch a simulation with specified simulationId and simulation zip.- Parameters:
simulationId
- id de simulationsimulationZip
- Zip de la simulation- Throws:
Exception
-
validateWithSimulationAndScript
public static void validateWithSimulationAndScript(String simulationId, File simulationZip, File simulationPrescript) throws Exception Launch a simulation with specified simulationId, simulationZip and simulationPrescript.- Parameters:
simulationId
- id de simulationsimulationZip
- Zip de la simulationsimulationPrescript
- simulation prescript- Throws:
Exception
-
validateResults
Compare result simulation from the validated ones.- Parameters:
newResultStorage
-- Throws:
Exception
-