public class ErrorReportingHandler extends java.lang.Object implements MatchHandler
Constructor and Description |
---|
ErrorReportingHandler(MatchHandler delegate,
int errorIndex) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.util.List<MatcherPathElement>> |
getFailedPaths() |
boolean |
match(MatcherContext context) |
void |
onMatch(MatcherContext context) |
void |
onMissmatch(MatcherContext context) |
public ErrorReportingHandler(MatchHandler delegate, int errorIndex)
public boolean match(MatcherContext context)
match
in interface MatchHandler
public void onMatch(MatcherContext context)
onMatch
in interface MatchHandler
public void onMissmatch(MatcherContext context)
onMissmatch
in interface MatchHandler
public java.util.List<java.util.List<MatcherPathElement>> getFailedPaths()
Copyright © 2012 SonarSource. All Rights Reserved.