Interface IModelProcessingListener<M extends IModel>

  • Type Parameters:
    M - the model type
    All Known Implementing Classes:
    BasicModelLoadingListener

    public interface IModelProcessingListener<M extends IModel>
    Defines the model processing listener interface, a listener that is informed when a certain model is being processed. This interface is defined in terms of model information objects, because when loading the initial version of the model the model itself is not available. See DSL-core for a simple generic implementation.
    Author:
    Holger Eichelberger
    • Method Detail

      • notifyProcessingStarted

        void notifyProcessingStarted​(ModelInfo<M> info,
                                     IModelProcessingListener.Type type)
        Is called when processing started (or shortly before).
        Parameters:
        info - the model information
        type - the processing type
      • notifyProcessingEnded

        void notifyProcessingEnded​(ModelInfo<M> info,
                                   IModelProcessingListener.Type type)
        Is called when processing ended (or shortly after).
        Parameters:
        info - the model information
        type - the processing type