Package org.fedoraproject.p2
Class EclipseSystemLayout
- java.lang.Object
-
- org.fedoraproject.p2.EclipseSystemLayout
-
public class EclipseSystemLayout extends Object
Class containing various Fedora Eclipse filesystem utilities.
-
-
Constructor Summary
Constructors Constructor Description EclipseSystemLayout()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<URI>
getRepositories()
static List<Path>
getSclConfFiles()
Get a set of roots the software collections installed on this system.static List<Path>
getSclConfFiles(String confDirs)
Get a set of roots the software collections from given Java configuration directory list.static Set<Path>
getUserDefinedBundleLocations()
Get a set of user defined paths to search for additional OSGi bundles.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.
-
-
-
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
-
-