org.apache.maven.surefire.booter
Class Classpath

java.lang.Object
  extended by org.apache.maven.surefire.booter.Classpath

public class Classpath
extends Object

An ordered list of classpath elements with set behaviour

Author:
Kristian Rosenvold

Constructor Summary
Classpath()
           
Classpath(Classpath other)
           
Classpath(List elements)
           
 
Method Summary
 void addClassPathElementUrl(String path)
           
 ClassLoader createClassLoader(ClassLoader parent, boolean childDelegation, boolean enableAssertions, String roleName)
           
 boolean equals(Object o)
           
 List getAsUrlList()
           
 List getClassPath()
           
 int hashCode()
           
static Classpath join(Classpath firstClasspath, Classpath secondClasspath)
           
 void writeToSystemProperty(String propertyName)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Classpath

public Classpath()

Classpath

public Classpath(Classpath other)

Classpath

public Classpath(List elements)
Method Detail

join

public static Classpath join(Classpath firstClasspath,
                             Classpath secondClasspath)

addClassPathElementUrl

public void addClassPathElementUrl(String path)

getClassPath

public List getClassPath()

getAsUrlList

public List getAsUrlList()
                  throws MalformedURLException
Throws:
MalformedURLException

writeToSystemProperty

public void writeToSystemProperty(String propertyName)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

createClassLoader

public ClassLoader createClassLoader(ClassLoader parent,
                                     boolean childDelegation,
                                     boolean enableAssertions,
                                     String roleName)
                              throws SurefireExecutionException
Throws:
SurefireExecutionException

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.