public class BaSyxAASServerConfiguration extends BaSyxConfiguration
| Modifier and Type | Field and Description |
|---|---|
static String |
BACKEND |
static String |
DEFAULT_BACKEND |
static String |
DEFAULT_CONFIG_PATH |
static String |
DEFAULT_EVENTS |
static String |
DEFAULT_FILE_KEY |
static String |
DEFAULT_REGISTRY |
static String |
DEFAULT_SOURCE |
static String |
EVENTS |
static String |
REGISTRY |
static String |
SOURCE |
| Constructor and Description |
|---|
BaSyxAASServerConfiguration()
Empty Constructor - use default values
|
BaSyxAASServerConfiguration(AASServerBackend backend,
String source)
Constructor with initial configuration
|
BaSyxAASServerConfiguration(AASServerBackend backend,
String source,
String registryUrl)
Constructor with initial configuration values
|
BaSyxAASServerConfiguration(Map<String,String> values)
Constructor with predefined value map
|
| Modifier and Type | Method and Description |
|---|---|
AASServerBackend |
getAASBackend() |
AASEventBackend |
getAASEvents() |
String |
getAASSource() |
static Map<String,String> |
getDefaultProperties() |
String |
getRegistry() |
void |
loadFromDefaultSource() |
void |
setAASBackend(AASServerBackend backend) |
void |
setAASEvents(AASEventBackend events) |
void |
setAASSource(String source) |
void |
setRegistry(String registryPath) |
getProperties, getProperty, getResourceStream, getResourceString, loadFileOrDefaultResource, loadFromFile, loadFromProperties, loadFromResource, loadFromStream, setPropertypublic static final String DEFAULT_BACKEND
public static final String DEFAULT_SOURCE
public static final String DEFAULT_REGISTRY
public static final String DEFAULT_EVENTS
public static final String REGISTRY
public static final String BACKEND
public static final String SOURCE
public static final String EVENTS
public static final String DEFAULT_CONFIG_PATH
public static final String DEFAULT_FILE_KEY
public BaSyxAASServerConfiguration()
public BaSyxAASServerConfiguration(AASServerBackend backend, String source)
backend - The backend for the AASServersource - The file source for the AASServer (e.g. an .aasx file)public BaSyxAASServerConfiguration(AASServerBackend backend, String source, String registryUrl)
backend - The backend for the AASServersource - The file source for the AASServer (e.g. an .aasx file)registryUrl - The url to the registrypublic void loadFromDefaultSource()
public AASServerBackend getAASBackend()
public void setAASBackend(AASServerBackend backend)
public AASEventBackend getAASEvents()
public void setAASEvents(AASEventBackend events)
public String getAASSource()
public void setAASSource(String source)
public String getRegistry()
public void setRegistry(String registryPath)
Copyright © 2021. All rights reserved.