Interface IModelManagementRepository<M extends IModel>

    • Method Detail

      • updateModelInformation

        void updateModelInformation​(java.io.File file,
                                    ProgressObserver observer)
                             throws ModelManagementException
        Updates the model information in file.
        Parameters:
        file - the location folder to search
        observer - an optional progress observer (use ProgressObserver.NO_OBSERVER but not null in case that no observation is intended)
        Throws:
        ModelManagementException - in case that the available information may be come inconsistent due to this update
      • loaders

        ModelLoaders<M> loaders()
        Returns the loaders.
        Returns:
        the loaders
      • clearLocation

        void clearLocation​(java.io.File file,
                           ProgressObserver observer)
        Clears the location related information from the repository.
        Parameters:
        file - the location
        observer - an optional progress observer (use ProgressObserver.NO_OBSERVER but not null in case that no observation is intended)
      • getResolvedModelInfo

        ModelInfo<M> getResolvedModelInfo​(M model)
        Returns the model information object for the given model by considering resolved models.
        Parameters:
        model - the model to search an information object for which resolves model
        Returns:
        the related model information object or null if there is none