Class EMFPackageBasedInterpreterFacade
- java.lang.Object
-
- org.palladiosimulator.simulizar.interpreter.impl.EMFPackageBasedInterpreterFacade
-
- All Implemented Interfaces:
InterpreterFacade
public class EMFPackageBasedInterpreterFacade extends Object implements InterpreterFacade
-
-
Constructor Summary
Constructors Constructor Description EMFPackageBasedInterpreterFacade(InterpreterDefaultContext context, org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition localPartition, UsageScenarioSwitch.Factory usageScenarioSwitchFactory, ComposedRDSeffSwitchFactory seffSwitchFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InterpreterResult
submit(EObject object)
Submit the given object for interpretation.InterpreterResult
submit(EntityReference<?> object)
Submit the referenced entity for interpretation.
-
-
-
Constructor Detail
-
EMFPackageBasedInterpreterFacade
@Inject public EMFPackageBasedInterpreterFacade(InterpreterDefaultContext context, org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition localPartition, UsageScenarioSwitch.Factory usageScenarioSwitchFactory, ComposedRDSeffSwitchFactory seffSwitchFactory)
-
-
Method Detail
-
submit
public InterpreterResult submit(EntityReference<?> object)
Description copied from interface:InterpreterFacade
Submit the referenced entity for interpretation. The entity will be resolved against the default PCM blackboard partition. This method should be preferred, as it checks, whether the entity is still resolvable or has been removed between submission and start of interpretation. The call will return, once the interpretation has finished.- Specified by:
submit
in interfaceInterpreterFacade
- Parameters:
object
- the reference to the model element to interpret.
-
submit
public InterpreterResult submit(EObject object)
Description copied from interface:InterpreterFacade
Submit the given object for interpretation. The call will return, once the interpretation has finished. If the model element is contained in the blackboard,InterpreterFacade.submit(EntityReference)
should be preferred, as it checks, whether the entity is still resolvable or has been removed between submission and start of interpretation.- Specified by:
submit
in interfaceInterpreterFacade
- Parameters:
object
- the model element to interpret
-
-