public class ClassAndFileConfigurationEntityMatcher extends PatternsEntityMatcher
Constructor and Description |
---|
ClassAndFileConfigurationEntityMatcher(Class<? extends hudson.model.Saveable> clazz,
String[] patterns) |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(hudson.model.Saveable saveable,
File file)
Determines whether the matcher matches a given combination of saveable and file.
|
getIncludes, matches, matchingFilesFrom
public boolean matches(hudson.model.Saveable saveable, File file)
ConfigurationEntityMatcher
matches
in interface ConfigurationEntityMatcher
matches
in class PatternsEntityMatcher
saveable
- the file belongs tofile
- that is to be matchedtrue
on match, false
otherwiseCopyright © 2004-2016. All Rights Reserved.