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:
Extension
,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
globalPCMInstance, model
-
-
Constructor Summary
Constructors Constructor Description ResourceEnvironmentSyncer(org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition globalPCMInstance, de.uka.ipd.sdq.simucomframework.ResourceRegistry resourceRegistry, CalculatorFactoryFacade calcFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
add(Notification notification)
void
initialize()
protected void
set(Notification notification)
-
Methods inherited from class org.palladiosimulator.simulizar.modelobserver.AbstractResourceEnvironmentObserver
selectObservees
-
Methods inherited from class org.palladiosimulator.simulizar.modelobserver.AbstractModelObserver
addMany, eventTypeCount, logDebugInfo, move, noFeatureID, remove, removeMany, removingAdapter, resolve, setTaggedValue, unregister, unset
-
-
-
-
Constructor Detail
-
ResourceEnvironmentSyncer
@Inject public ResourceEnvironmentSyncer(org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition globalPCMInstance, de.uka.ipd.sdq.simucomframework.ResourceRegistry resourceRegistry, CalculatorFactoryFacade calcFactory)
-
-
Method Detail
-
initialize
public void initialize()
- Specified by:
initialize
in interfaceIModelObserver
- Overrides:
initialize
in classAbstractModelObserver<org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment>
-
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>
-
-