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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddClassPathElementUrl(String path) private voidaddTo(Collection<String> c) clone()createClassLoader(boolean childDelegation, boolean enableAssertions, String roleName) static ClasspathbooleangetCompactLogMessage(String descriptor) getLogMessage(String descriptor) inthashCode()iterator()static ClasspathvoidwriteToSystemProperty(String propertyName) Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
unmodifiableElements
-
-
Constructor Details
-
Classpath
private Classpath() -
Classpath
-
Classpath
-
-
Method Details
-
join
-
addTo
-
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
-