public class DuplicateFilteringResultSink extends java.lang.Object implements MatchResultSink
| Constructor and Description |
|---|
DuplicateFilteringResultSink(MatchResultSink delegate) |
| Modifier and Type | Method and Description |
|---|---|
ProgressIndicator |
getProgressIndicator() |
void |
matchingFinished()
Notifies sink about end of matching.
|
void |
newMatch(MatchResult result)
Notifies sink about new match
|
void |
processFile(PsiFile element)
Notifies sink about starting the matching for given element
|
void |
setMatchingProcess(MatchingProcess matchingProcess)
Sets the reference to the matching process
|
public DuplicateFilteringResultSink(MatchResultSink delegate)
public void newMatch(MatchResult result)
MatchResultSinknewMatch in interface MatchResultSinkpublic void processFile(PsiFile element)
MatchResultSinkprocessFile in interface MatchResultSinkelement - the current filepublic void setMatchingProcess(MatchingProcess matchingProcess)
MatchResultSinksetMatchingProcess in interface MatchResultSinkmatchingProcess - the matching process referencepublic void matchingFinished()
MatchResultSinkmatchingFinished in interface MatchResultSinkpublic ProgressIndicator getProgressIndicator()
getProgressIndicator in interface MatchResultSink