Class Classpath
- java.lang.Object
-
- com.github.fridujo.junit.extension.classpath.Classpath
-
public class Classpath extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Set<PathElement>pathElements
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Classpathcurrent()ClassLoadernewClassLoader()ClasspathremoveGav(String gavDescription)ClasspathremoveGavs(String[] gavDescriptions)ClasspathremoveJars(String[] excludeJars)
-
-
-
Field Detail
-
pathElements
public final Set<PathElement> pathElements
-
-
Method Detail
-
current
public static Classpath current()
-
newClassLoader
public ClassLoader newClassLoader()
-
removeGavs
public Classpath removeGavs(String[] gavDescriptions) throws NoMatchingClasspathElementFoundException
-
removeGav
public Classpath removeGav(String gavDescription) throws NoMatchingClasspathElementFoundException
-
-