Class ResourceEnvironmentSyncer
- java.lang.Object
-
- org.palladiosimulator.simulizar.modelobserver.AbstractModelObserver<org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment>
-
- org.palladiosimulator.simulizar.modelobserver.AbstractResourceEnvironmentObserver
-
- org.palladiosimulator.simulizar.modelobserver.ResourceEnvironmentSyncer
-
- All Implemented Interfaces:
IModelObserver
public class ResourceEnvironmentSyncer extends AbstractResourceEnvironmentObserver
Class to sync resource environment model with SimuCom.
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.simulizar.modelobserver.AbstractModelObserver
model, runtimeModel
-
-
Constructor Summary
Constructors Constructor Description ResourceEnvironmentSyncer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
add(Notification notification)
void
initialize(SimuLizarRuntimeState runtimeState)
Syncs PCM models with SimuCom.protected void
set(Notification notification)
-
Methods inherited from class org.palladiosimulator.simulizar.modelobserver.AbstractModelObserver
addMany, eventTypeCount, initialize, logDebugInfo, move, noFeatureID, remove, removeMany, removingAdapter, resolve, setTaggedValue, unregister, unset
-
-
-
-
Method Detail
-
initialize
public void initialize(SimuLizarRuntimeState runtimeState)
Syncs PCM models with SimuCom.- Specified by:
initialize
in interfaceIModelObserver
- Overrides:
initialize
in classAbstractResourceEnvironmentObserver
-
add
protected void add(Notification notification)
- Overrides:
add
in classAbstractModelObserver<org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment>
-
set
protected void set(Notification notification)
- Overrides:
set
in classAbstractModelObserver<org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment>
-
-