org.apache.maven.surefire.booter
Class Classpath

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

public class Classpath
extends java.lang.Object

An ordered list of classpath elements with set behaviour

Author:
Kristian Rosenvold

Constructor Summary
Classpath()
           
Classpath(java.util.List elements)
           
 
Method Summary
 void addClassPathElementUrl(java.lang.String path)
           
 boolean equals(java.lang.Object o)
           
 java.util.List getAsUrlList()
           
 java.util.List getClassPath()
           
 int hashCode()
           
static Classpath join(Classpath firstClasspath, Classpath secondClasspath)
           
 void writeToSystemProperty(java.lang.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(java.util.List elements)
Method Detail

join

public static Classpath join(Classpath firstClasspath,
                             Classpath secondClasspath)

addClassPathElementUrl

public void addClassPathElementUrl(java.lang.String path)

getClassPath

public java.util.List getClassPath()

getAsUrlList

public java.util.List getAsUrlList()
                            throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

writeToSystemProperty

public void writeToSystemProperty(java.lang.String propertyName)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


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