Package org.apache.maven.surefire.booter
Class Classpath
java.lang.Object
org.apache.maven.surefire.booter.Classpath
An ordered list of classpath elements with set behaviour
A Classpath is immutable and thread safe.
Immutable and thread safe
- Author:
- Kristian Rosenvold
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddClassPathElementUrl
(String path) clone()
createClassLoader
(boolean childDelegation, boolean enableAssertions, String roleName) static Classpath
boolean
getCompactLogMessage
(String descriptor) getLogMessage
(String descriptor) int
hashCode()
iterator()
static Classpath
void
writeToSystemProperty
(String propertyName) Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Classpath
-
Classpath
-
-
Method Details
-
join
-
emptyClasspath
-
addClassPathElementUrl
-
getClassPath
-
writeToSystemProperty
-
equals
-
createClassLoader
public ClassLoader createClassLoader(boolean childDelegation, boolean enableAssertions, @Nonnull String roleName) throws SurefireExecutionException - Throws:
SurefireExecutionException
-
hashCode
public int hashCode() -
getLogMessage
-
getCompactLogMessage
-
iterator
-
clone
-