public final class ClasspathSpecifier extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ClasspathSpecifier.Element
An element of a classpath.
|
| Constructor and Description |
|---|
ClasspathSpecifier(boolean osgi,
List<ClasspathSpecifier.Element> classpath)
Create a new classpath specifier.
|
| Modifier and Type | Method and Description |
|---|---|
List<ClasspathSpecifier.Element> |
classpath()
Returns the classpath consisting of elements on the client machine
|
static ClasspathSpecifier |
defaultSpecifier()
Returns the default classpath specifier based on the system property java.class.path.
|
boolean |
osgi()
Returns whether osgi is enabled
|
ClasspathSpecifier |
resolve()
If this is the default, this will force resolution of the default classpath.
|
String |
toString() |
public ClasspathSpecifier(boolean osgi,
List<ClasspathSpecifier.Element> classpath)
osgi - whether to run in osgi mode.classpath - the classpath consisting of elements on the client machinepublic static ClasspathSpecifier defaultSpecifier()
CacheScopeSpecifier.JOB scope and
Files have CacheScopeSpecifier.NODE scope. Note that the java.class.path system property is not
immediately resolved. A call to resolve() can be used to force resolution.public boolean osgi()
public List<ClasspathSpecifier.Element> classpath()
public ClasspathSpecifier resolve()
Copyright © 2024 Actian Corporation. All rights reserved.