public class ConfigurablePlatform extends DelegatingPlatform implements PlatformConfiguration
A platform that can be configured by setting a runtime environment definition and by adding process definitions.
Therewith, this platform can be configured by an
XMLConfigurationHandler
that reads configuration elements from XML.
Platform.Mode, Platform.State
Constructor and Description |
---|
ConfigurablePlatform()
Instantiates this configurable platform.
|
Modifier and Type | Method and Description |
---|---|
void |
addProcess(ProcessDefinition definition)
Adds a process definition.
|
void |
setRuntimeEnvironment(RuntimeEnvironmentDefinition definition)
Sets the runtime environment definition.
|
addAgent, addAgent, addStateListener, currentTime, getMode, getState, handledProcesses, setup, start, stop
public ConfigurablePlatform()
public void setRuntimeEnvironment(RuntimeEnvironmentDefinition definition) throws PlatformConfigurationException
PlatformConfiguration
setRuntimeEnvironment
in interface PlatformConfiguration
definition
- the runtime environment definitionPlatformConfigurationException
- if a configuration error occurspublic void addProcess(ProcessDefinition definition) throws PlatformConfigurationException
PlatformConfiguration
addProcess
in interface PlatformConfiguration
definition
- the process definitionPlatformConfigurationException
- if a configuration error occursCopyright © Aimpulse Intelligent Systems GmbH
All rights reserved.