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(List elements)
           
 
Method Summary
 void addClassPathElementUrl(String path)
           
 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(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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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