|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.tasks.util.FileFinder
public class FileFinder
Scans the workspace and finds all Java files.
| Constructor Summary | |
|---|---|
FileFinder()
Creates a new instance of FileFinder. |
|
FileFinder(java.lang.String pattern)
Creates a new instance of FileFinder. |
|
| Method Summary | |
|---|---|
java.lang.String[] |
find(java.io.File workspace)
Returns an array with the filenames of the specified file pattern that have been found in the workspace. |
java.lang.String[] |
invoke(java.io.File workspace,
hudson.remoting.VirtualChannel channel)
Returns an array with the filenames of the specified file pattern that have been found in the workspace. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileFinder()
FileFinder. This instance will scan
for Java files, see JAVA_PATTERN.
public FileFinder(java.lang.String pattern)
FileFinder.
pattern - the ant file pattern to scan for| Method Detail |
|---|
public java.lang.String[] invoke(java.io.File workspace,
hudson.remoting.VirtualChannel channel)
throws java.io.IOException
invoke in interface hudson.FilePath.FileCallable<java.lang.String[]>workspace - root directory of the workspacechannel - not used
java.io.IOExceptionpublic java.lang.String[] find(java.io.File workspace)
workspace - root directory of the workspace
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||