public interface ConfigurationEntityMatcher
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getIncludes()
All patterns this matcher matches; used only for informational purposes in the UI.
|
boolean |
matches(hudson.model.Saveable saveable,
File file)
Determines whether the matcher matches a given combination of saveable and file.
|
boolean |
matches(hudson.model.Saveable saveable,
String pathRelativeToRoot,
boolean isDirectory)
Determines whether the matcher would have matched a deleted file, of which we know only its path and possibly whether it was directory.
|
String[] |
matchingFilesFrom(File rootDirectory,
org.apache.tools.ant.types.selectors.FileSelector selector)
Collects all files under the given rootDirectory that match, restricted by the given
link FileSelector. |
boolean matches(hudson.model.Saveable saveable,
File file)
saveable - the file belongs tofile - that is to be matchedtrue on match, false otherwiseboolean matches(hudson.model.Saveable saveable,
String pathRelativeToRoot,
boolean isDirectory)
saveable - the file belonged topathRelativeToRoot - of the file or directory (which Jenkins has already deleted)isDirectory - true if it's known that the path referred to a directory, false otherwisetrue on match, false otherwiseString[] matchingFilesFrom(File rootDirectory, org.apache.tools.ant.types.selectors.FileSelector selector)
link FileSelector.rootDirectory - to traverseselector - restricting the traversalCopyright © 2004-2016. All Rights Reserved.