Class ValidateSimulationAction

java.lang.Object
fr.ifremer.isisfish.actions.ValidateSimulationAction

public class ValidateSimulationAction extends Object
Check that there are no regressions. Monitor execution.
  • Field Details

    • config

      protected IsisConfig config
    • validatedResultStorage

      protected static ResultStorage validatedResultStorage
      results from validated simulation
  • Constructor Details

    • ValidateSimulationAction

      public ValidateSimulationAction(IsisConfig config)
  • Method Details

    • validateSimulation

      public static void validateSimulation(String simulationName) throws Exception
      Launch a simulation with simulation params the similutaion at the given path.
      Parameters:
      simulationName - name of the simulation reference.
      Throws:
      Exception
    • simulateWithSimulation

      public static void simulateWithSimulation(String simulationId, File simulationZip) throws Exception
      Launch a simulation with specified simulationId and simulation zip.
      Parameters:
      simulationId - id de simulation
      simulationZip - 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 simulation
      simulationZip - Zip de la simulation
      simulationPrescript - simulation prescript
      Throws:
      Exception
    • validateResults

      public static void validateResults(ResultStorage newResultStorage) throws Exception
      Compare result simulation from the validated ones.
      Parameters:
      newResultStorage -
      Throws:
      Exception