AnyLogic
Expand
Font size

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

Field Summary

Modifier and TypeFieldDescription
static final StringANYLOGIC_INCOMING_PORT
AnyLogic application port for receiving data from running model
static final StringBROWSER_USER_DATA_PATH
Chromium argument: custom user data dir
static final StringBUILT_IN_TILE_CACHE_PATH 
static final StringENABLE_OBJECT3D_LOD
Simplify distant 3D objects (Level of detail).
Possible values: true, false
static final StringENABLE_WARNINGS
Check and report warnings during model simulation.
Possible values: true, false
static final StringFLOWCHART_COUNTERS_VISIBLE
Process flowcharts: display or hide number of agents passed through ports, contained inside flowchart blocks etc.
Possible values: true, false
static final StringFLOWCHART_PORT_STATE_ANIMATED
Process flowcharts: show or hide block busy / agent available indicators near ports of flowchart blocks.
Possible values: true, false
static final StringLANGUAGE_ID
Localization language code.
static final StringPERFORMANCE_PARALLEL_WORKERS_COUNT
Number of parallel processors (cores) to be used by multiple-run experiments (e.g.
static final StringPROXY_BYPASS_ADDRESSES
Proxy settings...
The hosts that should be accessed without the proxy.
static final StringPROXY_ENABLED
Proxy settings...
Possible values: true, false
static final StringPROXY_HOST
Proxy settings...
Possible values: url of the proxy host
static final StringPROXY_LOGIN
Proxy settings...
static final StringPROXY_PASSWORD
Proxy settings...
static final StringPROXY_PORT
Proxy settings...
Possible values: integer number
static final StringPROXY_SKIP_BASIC_AUTH
Proxy settings...
Possible values: true, false
static final StringSTANDALONE_BROWSER_COMMAND_ARGUMENTS
Standalone application mode: command arguments for custom browser.
static final StringSTANDALONE_BROWSER_PATH
Standalone application mode: path to the browser executable.
static final StringSTANDALONE_EXPERIMENT
Experiment class name to be started
static final StringSTANDALONE_SERVER_PORT
Standalone application mode: port where the server with the running model will start on.
static final StringSYSTEM_PROP_SUFFIX_XJAL 

Constructor Summary

ConstructorDescription
AnyLogicRuntimePreferences() 

Method Summary

Modifier and TypeMethodDescription
static StringgetBuiltInTileCachePath() 
static booleanisEnableObject3dLod() 
static booleanisEnableWarnings() 
static booleanisFlowchartCountersVisible() 
static booleanisFlowchartPortStateAnimated() 
static voidsetBuiltInTileCachePath(String path) 
static voidsetEnableObject3dLod(Boolean yes) 
static voidsetEnableWarnings(Boolean yes) 
static voidsetFlowchartCountersVisible(Boolean yes) 
static voidsetFlowchartPortStateAnimated(Boolean yes) 

Methods inherited from class java.lang.Object

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

Field Details

FLOWCHART_COUNTERS_VISIBLE

@AnyLogicInternalAPI
public static final String FLOWCHART_COUNTERS_VISIBLE
Process flowcharts: display or hide number of agents passed through ports, contained inside flowchart blocks etc.
Possible values: true, false
See Also:
Constant Field Values

FLOWCHART_PORT_STATE_ANIMATED

@AnyLogicInternalAPI
public static final String FLOWCHART_PORT_STATE_ANIMATED
Process flowcharts: show or hide block busy / agent available indicators near ports of flowchart blocks.
Possible values: true, false
See Also:
Constant Field Values

ENABLE_WARNINGS

@AnyLogicInternalAPI
public static final String ENABLE_WARNINGS
Check and report warnings during model simulation.
Possible values: true, false
See Also:
Constant Field Values

ENABLE_OBJECT3D_LOD

@AnyLogicInternalAPI
public static final String ENABLE_OBJECT3D_LOD
Simplify distant 3D objects (Level of detail).
Possible values: true, false
See Also:
Constant Field Values

PROXY_ENABLED

@AnyLogicInternalAPI
public static final String PROXY_ENABLED
Proxy settings...
Possible values: true, false
See Also:
Constant Field Values

PROXY_HOST

@AnyLogicInternalAPI
public static final String PROXY_HOST
Proxy settings...
Possible values: url of the proxy host
See Also:
Constant Field Values

PROXY_SKIP_BASIC_AUTH

@AnyLogicInternalAPI
public static final String PROXY_SKIP_BASIC_AUTH
Proxy settings...
Possible values: true, false
See Also:
Constant Field Values

PROXY_PORT

@AnyLogicInternalAPI
public static final String PROXY_PORT
Proxy settings...
Possible values: integer number
See Also:
Constant Field Values

PROXY_LOGIN

@AnyLogicInternalAPI
public static final String PROXY_LOGIN
Proxy settings...
See Also:
Constant Field Values

PROXY_PASSWORD

@AnyLogicInternalAPI
public static final String PROXY_PASSWORD
Proxy settings...
See Also:
Constant Field Values

PROXY_BYPASS_ADDRESSES

@AnyLogicInternalAPI
public static final String PROXY_BYPASS_ADDRESSES
Proxy settings...
The hosts that should be accessed without the proxy. By default, all loopback addresses are bypassed.
Possible values: a list of hosts, separated by the '|' character. Additionally, the wildcard '*' can be used.
See Also:
Constant Field Values

PERFORMANCE_PARALLEL_WORKERS_COUNT

@AnyLogicInternalAPI
public static final String PERFORMANCE_PARALLEL_WORKERS_COUNT
Number of parallel processors (cores) to be used by multiple-run experiments (e.g. Parameter Variation) and by some libraries (e.g. Pedestrian Library)
See Also:
Constant Field Values

STANDALONE_BROWSER_PATH

@AnyLogicInternalAPI
public static final String STANDALONE_BROWSER_PATH
Standalone application mode: path to the browser executable. When specified in .ini file, shouldn't contain single '\' characters, '/' are preferred instead.
See Also:
Constant Field Values

STANDALONE_BROWSER_COMMAND_ARGUMENTS

@AnyLogicInternalAPI
public static final String STANDALONE_BROWSER_COMMAND_ARGUMENTS
Standalone application mode: command arguments for custom browser. Use $1 to refer to the url of the running model server.
See Also:
Constant Field Values

BROWSER_USER_DATA_PATH

@AnyLogicInternalAPI
public static final String BROWSER_USER_DATA_PATH
Chromium argument: custom user data dir
See Also:
Constant Field Values

STANDALONE_SERVER_PORT

@AnyLogicInternalAPI
public static final String STANDALONE_SERVER_PORT
Standalone application mode: port where the server with the running model will start on. Positive integer number not greater than 65535. Some port values might be reserved by the Operating System or some services, especially values < 1024. Specifying value < 0 will result in a randomly chosen available port.
See Also:
Constant Field Values

ANYLOGIC_INCOMING_PORT

public static final String ANYLOGIC_INCOMING_PORT
AnyLogic application port for receiving data from running model
See Also:
Constant Field Values

LANGUAGE_ID

@AnyLogicInternalAPI
public static final String LANGUAGE_ID
Localization language code. For example, en.
See Also:
Constant Field Values

STANDALONE_EXPERIMENT

@AnyLogicInternalAPI
public static final String STANDALONE_EXPERIMENT
Experiment class name to be started

SYSTEM_PROP_SUFFIX_XJAL

@AnyLogicInternalAPI
public static final String SYSTEM_PROP_SUFFIX_XJAL

BUILT_IN_TILE_CACHE_PATH

@AnyLogicInternalAPI
public static final String BUILT_IN_TILE_CACHE_PATH

Constructor Details

AnyLogicRuntimePreferences

public AnyLogicRuntimePreferences()

Method Details

isFlowchartCountersVisible

public static boolean isFlowchartCountersVisible()

setFlowchartCountersVisible

public static void setFlowchartCountersVisible(Boolean yes)

isFlowchartPortStateAnimated

public static boolean isFlowchartPortStateAnimated()

setFlowchartPortStateAnimated

public static void setFlowchartPortStateAnimated(Boolean yes)

isEnableWarnings

public static boolean isEnableWarnings()

setEnableWarnings

public static void setEnableWarnings(Boolean yes)

getBuiltInTileCachePath

public static String getBuiltInTileCachePath()

setBuiltInTileCachePath

public static void setBuiltInTileCachePath(String path)

isEnableObject3dLod

public static boolean isEnableObject3dLod()

setEnableObject3dLod

public static void setEnableObject3dLod(Boolean yes)