Package org.fedoraproject.p2
Class EclipseSystemLayout
- java.lang.Object
-
- org.fedoraproject.p2.EclipseSystemLayout
-
public class EclipseSystemLayout extends java.lang.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 java.util.List<java.net.URI>
getRepositories()
static java.util.List<java.nio.file.Path>
getSclConfFiles()
Get a set of roots the software collections installed on this system.static java.util.List<java.nio.file.Path>
getSclConfFiles(java.lang.String confDirs)
Get a set of roots the software collections from given Java configuration directory list.static java.util.Set<java.nio.file.Path>
getUserDefinedBundleLocations()
Get a set of user defined paths to search for additional OSGi bundles.static void
initLocations(SCL scl, java.util.Set<java.nio.file.Path> platformDirs, java.util.Set<java.nio.file.Path> internalDirs, java.util.Set<java.nio.file.Path> externalDirs, boolean expandDropins)
Populate the sets containing platform, internal, and external OSGi bundle directories.
-
-
-
Method Detail
-
initLocations
public static void initLocations(SCL scl, java.util.Set<java.nio.file.Path> platformDirs, java.util.Set<java.nio.file.Path> internalDirs, java.util.Set<java.nio.file.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 java.util.Set<java.nio.file.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 java.util.List<java.nio.file.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 java.util.List<java.nio.file.Path> getSclConfFiles(java.lang.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 java.util.List<java.net.URI> getRepositories()
-
-