Class SAXBasedDataFetcher

  • All Implemented Interfaces:
    ProjectDataFetcher, ServerExtension, TeamCityExtension

    public abstract class SAXBasedDataFetcher
    extends java.lang.Object
    implements ProjectDataFetcher
    Base class for data fetchers retrieving data from single XML file. This implementation uses SAX to parse XML file, and notifies subclass about all found elements.
    Since:
    8.1
    • Constructor Detail

      • SAXBasedDataFetcher

        public SAXBasedDataFetcher()
    • Method Detail

      • retrieveData

        @NotNull
        public java.util.List<DataItem> retrieveData​(@NotNull
                                                     Browser fsBrowser,
                                                     @NotNull
                                                     java.lang.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