Class EclipseSystemLayout


  • public class EclipseSystemLayout
    extends Object
    Class containing various Fedora Eclipse filesystem utilities.
    • Constructor Detail

      • EclipseSystemLayout

        public EclipseSystemLayout()
    • Method Detail

      • initLocations

        public static void initLocations​(SCL scl,
                                         Set<Path> platformDirs,
                                         Set<Path> internalDirs,
                                         Set<Path> externalDirs,
                                         boolean expandDropins)
        Populate the sets containing platform, internal, and external OSGi bundle directories.
        Parameters:
        scl - The software collection for which initialization be performed.
        platformDirs - A set expected to contain paths for platform directories.
        internalDirs - A set expected to contain paths for internal directories.
        externalDirs - A set expected to contain paths for external directories.
        expandDropins - If true, this will locate the individual dropin locations within the dropins folder. If false, this will simply add the entire dropins folder.
      • getUserDefinedBundleLocations

        public static Set<Path> getUserDefinedBundleLocations()
        Get a set of user defined paths to search for additional OSGi bundles.
        Returns:
        A set of String folder paths that may contain OSGi bundles.
      • getSclConfFiles

        public static List<Path> getSclConfFiles()
        Get a set of roots the software collections installed on this system.
        Returns:
        an ordered set of software collection roots
      • getSclConfFiles

        public static List<Path> getSclConfFiles​(String confDirs)
        Get a set of roots the software collections from given Java configuration directory list.
        Parameters:
        confDirs - colon-delimited list of Java configuration directories
        Returns:
        An ordered set of software collection roots
      • getRepositories

        public static List<URI> getRepositories()