public abstract class SCMHeadFilter extends Object
SCMSourceRequest dependent filter of SCMHead instances. Typically these filters may need to
make remote requests in order to determine exclusion.
If multiple filters are used, if any exclude then the head is excluded.| Constructor and Description |
|---|
SCMHeadFilter() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
isExcluded(SCMSourceRequest request,
SCMHead head)
Checks if the supplied
SCMHead is excluded from the specified SCMSourceRequest. |
public abstract boolean isExcluded(@NonNull
SCMSourceRequest request,
@NonNull
SCMHead head)
throws IOException,
InterruptedException
SCMHead is excluded from the specified SCMSourceRequest.request - the SCMSourceRequest.head - the SCMHead.true if and only if the SCMHead is excluded from the request.IOException - if there was an I/O error when determining exclusion.InterruptedException - if interrupted while determining exclusion.Copyright © 2016–2019. All rights reserved.