public interface ClasspathService
ClasspathEntry
objects and
provides convenient access to it.Modifier and Type | Interface and Description |
---|---|
static class |
ClasspathService.ClasspathEntryNotFoundException
Thrown when an attempt to resolve a
ClasspathEntry by a path fails. |
Modifier and Type | Method and Description |
---|---|
ClasspathServiceConfiguration |
getConfiguration()
Get configuration of the current
service . |
ClasspathEntry |
getEntryAt(String path)
Get
classpath entry corresponding to a given path. |
ClasspathDirectory |
getParent(ClasspathEntry classpathEntry)
Get parent directory of a
classpath entry . |
ClasspathDirectory |
getRoot()
Get the root directory of the current service classpath hierarchy structure.
|
boolean |
hasEntry(String path)
Check whether current service classpath structure contains an
entry
which corresponds to a given path. |
ClasspathServiceConfiguration getConfiguration()
service
.ClasspathDirectory getRoot()
/
.ClasspathDirectory getParent(ClasspathEntry classpathEntry)
classpath entry
.ClasspathEntry getEntryAt(String path)
classpath entry
corresponding to a given path.path
- absolute path of a classpath entryClasspathEntry
objectCopyright © 2003–2016 Magnolia International Ltd.. All rights reserved.