Represents the set of criteria used to filter source code (files). Provides an API to determine whether a particular source code file matches the criteria.
This is an internal class and its API is subject to change.Type | Name and description |
---|---|
java.lang.String |
applyToFileNames Only apply to source code (file) names matching this value. |
java.lang.String |
applyToFilesMatching Apply only to source code (file) pathnames matching this regular expression. |
java.lang.String |
doNotApplyToFileNames Do NOT apply to source code (file) names matching this value. |
java.lang.String |
doNotApplyToFilesMatching Do NOT apply to source code (file) pathnames matching this regular expression. |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
matches(SourceCode sourceCode) Return true if all of the criteria specified in this object apply to thw SourceCode. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Only apply to source code (file) names matching this value. The name may optionally contain a path. If a path is specified, then the source code path must match it. If no path is specified, then only the source code (file) name is compared (i.e., its path is ignored). The value may optionally be a comma-separated list of names, in which case one of the names must match. The name(s) may optionally include wildcard characters ('*' or '?'). If null, then all SourceCode instances match this part of the criteria (i.e., this property is ignored).
Apply only to source code (file) pathnames matching this regular expression. If null, then all SourceCode instances match this part of the criteria (i.e., this property is ignored).
Do NOT apply to source code (file) names matching this value. The name may optionally contain a path. If a path is specified, then the source code path must match it. If no path is specified, then only the source code (file) name is compared (i.e., its path is ignored). The value may optionally be a comma-separated list of names, in which case any one of the names can match. The name(s) may optionally include wildcard characters ('*' or '?'). If null, then all SourceCode instances match this part of the criteria (i.e., this property is ignored).
Do NOT apply to source code (file) pathnames matching this regular expression. If null, then all SourceCode instances match this part of the criteria (i.e., this property is ignored).
Return true if all of the criteria specified in this object apply to thw SourceCode.
sourceCode
- - the SourceCode