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