Class OptionsData
java.lang.Object
org.palladiosimulator.protocom.framework.java.ee.api.http.data.OptionsData
The OptionsData class is used to store the options selected by the user in an IStorage instance.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the accuracy.String[]
Gets all calibrated strategies (CPU and HDD).Gets the CPU strategy.Gets the HDD strategy.getName()
Gets the name of the experiment.getSeed()
Gets the seed for the StoEx evaluator.void
setAccuracy
(String accuracy) Sets the accuracy.void
setCalibrated
(String[] calibrated) Sets all calibrated strategies (CPU and HDD).void
setCpuStrategy
(String cpuStrategy) Sets the CPU strategy.void
setHddStrategy
(String hddStrategy) Sets the HDD strategy.void
Sets the name of the experiment.void
Sets the seed for the StoEx evaluator.
-
Constructor Details
-
OptionsData
public OptionsData()
-
-
Method Details
-
getName
Gets the name of the experiment.- Returns:
- the name of the experiment
-
setName
Sets the name of the experiment.- Parameters:
name
- the name of the experiment
-
getCpuStrategy
Gets the CPU strategy.- Returns:
- the name of the CPU strategy (format: cpu.[name])
-
setCpuStrategy
Sets the CPU strategy.- Parameters:
cpuStrategy
- the of the CPU strategy (format: cpu.[name])
-
getHddStrategy
Gets the HDD strategy.- Returns:
- the name of the HDD strategy (format: hdd.[name])
-
setHddStrategy
Sets the HDD strategy.- Parameters:
hddStrategy
- the name of the HDD strategy (format: cpu.[name])
-
getAccuracy
Gets the accuracy.- Returns:
- the accuracy
-
setAccuracy
Sets the accuracy.- Parameters:
accuracy
- the accuracy
-
getSeed
Gets the seed for the StoEx evaluator.- Returns:
- the seed for the StoEx evaluator
-
setSeed
Sets the seed for the StoEx evaluator.- Parameters:
seed
- the seed for the StoEx evaluator
-
getCalibrated
Gets all calibrated strategies (CPU and HDD).- Returns:
- an array containing the names of all calibrated strategies
-
setCalibrated
Sets all calibrated strategies (CPU and HDD).- Parameters:
calibrated
- an array containing the names of all calibrated strategies
-