Class IdeaProjectDataFetcher

    • Constructor Detail

      • IdeaProjectDataFetcher

        public IdeaProjectDataFetcher()
    • Method Detail

      • retrieveData

        @NotNull
        public final List<DataItem> retrieveData​(@NotNull
                                                 Browser fsBrowser,
                                                 @NotNull
                                                 String projectFilePath)
        Description copied from interface: ProjectDataFetcher
        Retrieves project data associated with specified file path. File path can point to build.xml, make file, IDEA project directory, etc
        Specified by:
        retrieveData in interface ProjectDataFetcher
        Parameters:
        fsBrowser - file system browser
        projectFilePath - project file path, depending on the type of extension, it can be path to build file, path to project root, or some other data
        Returns:
        list of data items DataItem
      • retrieveDataFromIdeaDirectory

        @NotNull
        protected abstract List<DataItem> retrieveDataFromIdeaDirectory​(@NotNull
                                                                        Element ideaDir,
                                                                        @NotNull
                                                                        Browser fsBrowser)
      • retrieveDataFromIprFile

        @NotNull
        protected abstract List<DataItem> retrieveDataFromIprFile​(@NotNull
                                                                  Element iprFile,
                                                                  @NotNull
                                                                  Browser fsBrowser)