Interface InterpreterFacade

  • All Known Implementing Classes:
    EMFPackageBasedInterpreterFacade

    public interface InterpreterFacade
    The InterpreterFacade consitutes the entry point for model-traversal based interpretation. It hides the concrete visitor implementation (e. g. EMF switches).
    • Method Detail

      • submit

        InterpreterResult submit​(EObject object)
        Submit the given object for interpretation. The call will return, once the interpretation has finished. If the model element is contained in the blackboard, submit(EntityReference) should be preferred, as it checks, whether the entity is still resolvable or has been removed between submission and start of interpretation.
        Parameters:
        object - the model element to interpret
      • submit

        InterpreterResult submit​(EntityReference<?> object)
        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.
        Parameters:
        object - the reference to the model element to interpret.