Class InterpreterResultListenerDispatch
java.lang.Object
org.palladiosimulator.simulizar.interpreter.listener.InterpreterResultListenerDispatch
- All Implemented Interfaces:
InterpreterResultEventEmitter
public class InterpreterResultListenerDispatch
extends Object
implements InterpreterResultEventEmitter
-
Constructor Summary
ConstructorDescriptionInterpreterResultListenerDispatch
(Set<InterpreterResultListener> resultListeners) -
Method Summary
Modifier and TypeMethodDescriptionvoid
emitInterpretationFinished
(InterpretableLocationReference interpretableLocation, InterpreterResult result, InterpreterDefaultContext context) Inform the listeners, that the interpretation of the referenced element has finished and yielded a particular result.
-
Constructor Details
-
InterpreterResultListenerDispatch
-
-
Method Details
-
emitInterpretationFinished
public void emitInterpretationFinished(InterpretableLocationReference interpretableLocation, InterpreterResult result, InterpreterDefaultContext context) Description copied from interface:InterpreterResultEventEmitter
Inform the listeners, that the interpretation of the referenced element has finished and yielded a particular result.- Specified by:
emitInterpretationFinished
in interfaceInterpreterResultEventEmitter
- Parameters:
interpretableLocation
- anEntityReference
which represents the interpreted simulation element.result
- the result of the interpretationcontext
- the current interpretation context
-