public abstract class SCMSourcePrefilter extends Object
SCMNavigatorRequest independent filter of project names. These filters may not make remote
requests in order to determine exclusion.
If multiple filters are used, if any exclude then the project name is excluded.
The SCMSourcePrefilter instances are applied before SCMSourceFilter instances in order to minimize
remote requests.| Constructor and Description |
|---|
SCMSourcePrefilter() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
isExcluded(SCMNavigator source,
String projectName)
Checks if the supplied project name is excluded from the specified
SCMNavigator. |
public abstract boolean isExcluded(@NonNull
SCMNavigator source,
@NonNull
String projectName)
SCMNavigator.source - the SCMNavigator.projectName - the project name.true if and only if the SCMHead is excluded from the request.Copyright © 2016–2019. All rights reserved.