Package hudson.util
Class ClasspathBuilder
java.lang.Object
hudson.util.ClasspathBuilder
- All Implemented Interfaces:
Serializable
Used to build up an argument in the classpath format.
- Since:
- 1.300
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds a single directory or a jar file.Adds a single directory or a jar file.Adds a single directory or a jar file.Adds all the files that matches the given glob in the directory.Adds a jar file that contains the given class.toString()
Returns the string representation of the classpath.
-
Constructor Details
-
ClasspathBuilder
public ClasspathBuilder()
-
-
Method Details
-
add
Adds a single directory or a jar file. -
add
Adds a single directory or a jar file. -
add
Adds a single directory or a jar file. -
addJarOf
Adds a jar file that contains the given class.- Throws:
IOException
- Since:
- 1.361
-
addAll
Adds all the files that matches the given glob in the directory.- Throws:
IOException
InterruptedException
- See Also:
-
toString
Returns the string representation of the classpath.
-