Class SimulationOptions
- java.lang.Object
-
- com.nomagic.magicdraw.simulation.execution.SimulationOptions
-
@OpenApiAll public class SimulationOptions extends java.lang.ObjectA class that maintains the option values being used during the execution simulation.
-
-
Constructor Summary
Constructors Constructor Description SimulationOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOption(java.lang.String optionName, java.lang.Object optionValue)Add the option.java.lang.ObjectgetOption(java.lang.String optionName)Get the option value from the specified option name.
-
-
-
Method Detail
-
addOption
public void addOption(java.lang.String optionName, @CheckForNull java.lang.Object optionValue)Add the option.- Parameters:
optionName- the option nameoptionValue- the option value
-
getOption
@CheckForNull public java.lang.Object getOption(java.lang.String optionName)
Get the option value from the specified option name.- Parameters:
optionName- the option name- Returns:
- the option value from the specified option name
-
-