|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.analysis.util.FileFinder
public class FileFinder
Scans the workspace and finds all files matching a give pattern.
| Constructor Summary | |
|---|---|
FileFinder()
Creates a new instance of FileFinder. |
|
FileFinder(String pattern)
Creates a new instance of FileFinder. |
|
| Method Summary | |
|---|---|
String[] |
find(File workspace)
Returns an array with the filenames of the specified file pattern that have been found in the workspace. |
String[] |
invoke(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(String pattern)
FileFinder.
pattern - the ant file pattern to scan for| Method Detail |
|---|
public String[] invoke(File workspace,
hudson.remoting.VirtualChannel channel)
throws IOException
invoke in interface hudson.FilePath.FileCallable<String[]>workspace - root directory of the workspacechannel - not used
IOException - if the workspace could not be readpublic String[] find(File workspace)
workspace - root directory of the workspace
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||