public class FileFinder extends Object implements hudson.FilePath.FileCallable<String[]>
| コンストラクタと説明 |
|---|
FileFinder(String pattern,
String excludePattern)
Creates a new instance of
FileFinder. |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
checkRoles(org.jenkinsci.remoting.RoleChecker checker) |
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.
|
public FileFinder(String pattern, String excludePattern)
FileFinder.pattern - the ant file pattern to scan forfilePatternExclude - public String[] invoke(File workspace, hudson.remoting.VirtualChannel channel) throws IOException
invoke インタフェース内 hudson.FilePath.FileCallable<String[]>workspace - root directory of the workspacechannel - not usedIOException - if the workspace could not be readpublic String[] find(File workspace)
workspace - root directory of the workspacepublic void checkRoles(org.jenkinsci.remoting.RoleChecker checker)
throws SecurityException
checkRoles インタフェース内 org.jenkinsci.remoting.RoleSensitiveSecurityExceptionCopyright © 2004-2016. All Rights Reserved.