Interface IProject

    • Method Detail

      • getComponent

        <T> T getComponent​(Class<T> t)
        Generic extension mechanism
        Returns:
        component instance or null if no extension of specified kind found.
      • addModule

        void addModule​(@NotNull
                       SModule module)
        api for the external project change : adding the module to the project
      • removeModule

        void removeModule​(@NotNull
                          SModule module)
        api for the external project change : removing the module from the project
      • getProjectModules

        @NotNull
        List<SModule> getProjectModules()
        Specified by:
        getProjectModules in interface Project
        Returns:
        all the modules this project owns (todo: contract to be: the same modules are in the #getRepository() repository) currently #getRepository returns the global repository (singleton) which hosts all the modules in the environment