|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.util.ClasspathBuilder
public class ClasspathBuilder
Used to build up an argument in the classpath format.
Constructor Summary | |
---|---|
ClasspathBuilder()
|
Method Summary | |
---|---|
ClasspathBuilder |
add(File f)
Adds a single directory or a jar file. |
ClasspathBuilder |
add(FilePath f)
Adds a single directory or a jar file. |
ClasspathBuilder |
add(String path)
Adds a single directory or a jar file. |
ClasspathBuilder |
addAll(FilePath base,
String glob)
Adds all the files that matches the given glob in the directory. |
ClasspathBuilder |
addJarOf(Class c)
Adds a jar file that contains the given class. |
String |
toString()
Returns the string representation of the classpath. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClasspathBuilder()
Method Detail |
---|
public ClasspathBuilder add(File f)
public ClasspathBuilder add(FilePath f)
public ClasspathBuilder add(String path)
public ClasspathBuilder addJarOf(Class c) throws IOException
IOException
public ClasspathBuilder addAll(FilePath base, String glob) throws IOException, InterruptedException
IOException
InterruptedException
FilePath.list(String)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |