Package com.anylogic.engine
- java.lang.Object
- com.anylogic.engine.ModelProperties
@AnyLogicInternalAPI public class ModelProperties extends Object
This class is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
- Author:
- AnyLogic North America, LLC https://anylogic.com
Modifier and Type | Field | Description |
---|---|---|
static final String | FILE_NAME |
Constructor | Description |
---|---|
ModelProperties() |
Modifier and Type | Method | Description |
---|---|---|
boolean | getBooleanProperty | |
EnumSet<LoggingType> | getLoggingTypes | |
String | getStringProperty | |
void | load | |
void | load | |
void | setBooleanProperty | |
void | setStringProperty | |
void | store |
public static final String FILE_NAME
- See Also:
- Constant Field Values
public ModelProperties()
public void load(String packageNameOrPrefix) throws IOException
- Throws:
IOException
public void load(Class<?> c) throws IOException
- Throws:
IOException
public void store(OutputStream stream) throws IOException
- Throws:
IOException
public String getStringProperty(Object propertyName)
public void setStringProperty(Object propertyName, String value)
public boolean getBooleanProperty(Object propertyName)
public void setBooleanProperty(Object propertyName, boolean value)
public EnumSet<LoggingType> getLoggingTypes(Engine engine)