AnyLogic
Expand
Font size

@AnyLogicInternalAPI
public class ModelProperties
extends Object
This class is internal and shouldn't be called by user.
it may be removed/renamed in future.
Author:
AnyLogic North America, LLC https://anylogic.com

Field Summary

Modifier and TypeFieldDescription
static final StringFILE_NAME 

Constructor Summary

ConstructorDescription
ModelProperties() 

Method Summary

Modifier and TypeMethodDescription
booleangetBooleanProperty(Object propertyName) 
EnumSet<LoggingType>getLoggingTypes(Engine engine) 
StringgetStringProperty(Object propertyName) 
voidload(Class<?> c) 
voidload(String packageNameOrPrefix) 
voidsetBooleanProperty(Object propertyName, boolean value) 
voidsetStringProperty(Object propertyName, String value) 
voidstore(OutputStream stream) 

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Details

FILE_NAME

public static final String FILE_NAME
See Also:
Constant Field Values

Constructor Details

ModelProperties

public ModelProperties()

Method Details

load

public void load(String packageNameOrPrefix)
          throws IOException
Throws:
IOException

load

public void load(Class<?> c)
          throws IOException
Throws:
IOException

store

public void store(OutputStream stream)
           throws IOException
Throws:
IOException

getStringProperty

public String getStringProperty(Object propertyName)

setStringProperty

public void setStringProperty(Object propertyName,
 String value)

getBooleanProperty

public boolean getBooleanProperty(Object propertyName)

setBooleanProperty

public void setBooleanProperty(Object propertyName,
 boolean value)

getLoggingTypes

public EnumSet<LoggingType> getLoggingTypes(Engine engine)