public class EclipseSystemLayout
extends java.lang.Object
Constructor and Description |
---|
EclipseSystemLayout() |
Modifier and Type | Method and 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.
|
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)
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.public static java.util.Set<java.nio.file.Path> getUserDefinedBundleLocations()
public static java.util.List<java.nio.file.Path> getSclConfFiles()
public static java.util.List<java.nio.file.Path> getSclConfFiles(java.lang.String confDirs)
confDirs
- colon-delimited list of Java configuration directoriespublic static java.util.List<java.net.URI> getRepositories()