Package fr.ifremer.isisfish.simulator
Class SimulationParameterPropertiesHelper
java.lang.Object
fr.ifremer.isisfish.simulator.SimulationParameterPropertiesHelper
Class utilitaire permettant de travailler avec les parametres sous forme de
properties
- Version:
- $Revision$ Last update: $Date$ by : $Author$
- Author:
- poussin
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
copy
(Properties source, Properties target, String prefix) Copy all entry beginning with prefix from source to targetstatic String
getDescription
(Properties prop) static String[]
getExportNames
(Properties prop) static String
static String
getIsisFishVersion
(Properties prop) static String
getLibLogLevel
(Properties prop) static int
getNumberOfMonths
(Properties prop) static int
static String
getObjectiveName
(Properties prop) static String[]
static int
static int
static String
static String
getOptimizationObservationName
(Properties prop, int index) getParamAsString
(Properties prop, String prefix, int index) Retourne les parametres sous forme de String pour une regles.static String[]
getPopulationNames
(Properties prop) static List
getPopulationNumbers
(Properties prop, String popName) Retourne les effectifs sous forme d'une liste de liste de double [[2, 3, 4], [5, 6, 7]]static String
getPreScript
(Properties prop) static String
getRegionName
(Properties prop) static String[]
getResultNames
(Properties prop) static String[]
getRuleNames
(Properties prop) static String
getScriptLogLevel
(Properties prop) static String
static String[]
static String[]
static int
static String
getSimulatorName
(Properties prop) static String
getSimulLogLevel
(Properties prop) static String[]
getStrategieNames
(Properties prop) getTagValue
(Properties prop) static boolean
getUseCache
(Properties prop) static boolean
static boolean
getUseOptimization
(Properties prop) static boolean
getUsePreScript
(Properties prop) static boolean
static boolean
getUseStatistic
(Properties prop) static Boolean
static boolean
static void
removeProperties
(Properties prop, String... propNames) static void
removePropertiesStartingWith
(Properties prop, String... propNames) static String
toString
(Properties prop)
-
Field Details
-
DOT
- See Also:
-
LIST_SEPARATOR
- See Also:
-
ISIS_FISH_VERSION_KEY
- See Also:
-
SIMULATOR_NAME_KEY
- See Also:
-
POPULATIONS_KEY
- See Also:
-
RULES_KEY
- See Also:
-
RULE_KEY
- See Also:
-
RESULT_NAMES_KEY
- See Also:
-
EXPORTS_KEY
- See Also:
-
PLANS_KEY
- See Also:
-
PLAN_KEY
- See Also:
-
STRATEGIES_KEY
- See Also:
-
DESCRIPTION_KEY
- See Also:
-
REGION_NAME_KEY
- See Also:
-
USE_SIMULATION_PLAN_KEY
- See Also:
-
SIMULATION_PLAN_NUMBER_KEY
- See Also:
-
USE_OPTIMIZATION_KEY
- See Also:
-
OPTIMIZATION_KEY
- See Also:
-
OPTIMIZATION_GENERATION_KEY
- See Also:
-
OPTIMIZATION_GENERATION_INDIVIDUAL_KEY
- See Also:
-
OBJECTIVE_KEY
- See Also:
-
OPTIMIZATION_EXPORTS_KEY
- See Also:
-
OPTIMIZATION_OBSERVATION_KEY
- See Also:
-
USE_CACHE_KEY
- See Also:
-
USE_STATISTIC_KEY
- See Also:
-
USE_COMPUTE_RESULT_KEY
- See Also:
-
NUMBER_OF_YEAR_KEY
- See Also:
-
NUMBER_OF_MONTHS_KEY
- See Also:
-
GENERATED_PRE_SCRIPT_KEY
- See Also:
-
USE_PRE_SCRIPT_KEY
- See Also:
-
PRE_SCRIPT_KEY
- See Also:
-
SIMUL_LOG_LEVEL_KEY
- See Also:
-
SCRIPT_LOG_LEVEL_KEY
- See Also:
-
LIB_LOG_LEVEL_KEY
- See Also:
-
SENSITIVITY_ANALYSIS_KEY
- See Also:
-
SENSITIVITY_KEY
- See Also:
-
SENSITIVITY_EXPORTS_KEY
- See Also:
-
SENSITIVITY_EXPORT_KEY
- See Also:
-
POPULATION_KEY
- See Also:
-
NUMBER_KEY
- See Also:
-
NUMBER_OF_SENSITIVITY_SIMULATION_KEY
- See Also:
-
SENSITIVITY_ANALYSIS_ONLY_KEEP_FIRST_KEY
- See Also:
-
RESULT_DELETE_AFTER_EXPORT_KEY
- See Also:
-
TAG_VALUE_KEY
- See Also:
-
PARAMETERS_KEY
- See Also:
-
PARAMETER_KEY
- See Also:
-
-
Constructor Details
-
SimulationParameterPropertiesHelper
public SimulationParameterPropertiesHelper()
-
-
Method Details
-
getIsisFishVersion
-
getSimulatorName
-
getDescription
-
getUseSimulationPlan
-
getSimulationPlanNumber
-
getOptimizationGeneration
-
getOptimizationGenerationIndividual
-
getUseCache
-
getNumberOfMonths
-
getRegionName
-
getPopulationNames
-
getPopulationNumbers
Retourne les effectifs sous forme d'une liste de liste de double [[2, 3, 4], [5, 6, 7]]- Parameters:
prop
-popName
- nom de la population dont on souhaite les effectifs- Returns:
-
getStrategieNames
-
getRuleNames
-
getResultNames
-
getExportNames
-
getSimulationPlanNames
-
getUseOptimization
-
getOptimizationName
-
getObjectiveName
-
getOptimizationExportNames
-
getOptimizationObservationName
-
getSensitivityAnalysis
-
getSensitivityExportNames
-
getNumberOfSensitivitySimulation
-
isSensitivityAnalysisOnlyKeepFirst
-
isResultDeleteAfterExport
-
getGeneratedPreScript
-
getUsePreScript
-
getPreScript
-
getUseStatistic
-
getUseComputeResult
-
getSimulLogLevel
-
getScriptLogLevel
-
getLibLogLevel
-
getTagValue
-
getParamAsString
Retourne les parametres sous forme de String pour une regles. Les regles sont numeroter dans l'ordre dans lequel on les recupere via #getRuleNames().- Parameters:
prop
-prefix
- can be 'rule', or otherindex
- l'indice de la regle dont on veut les parametre en String- Returns:
-
copy
Copy all entry beginning with prefix from source to target- Parameters:
source
-target
-prefix
-
-
toString
-
removeProperties
-
removePropertiesStartingWith
-