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 void
addTo
(Collection<String> c) 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
-
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
-