public class ViolationCreationProcessor extends java.lang.Object implements IMatchProcessor<IPatternMatch>
Constructor and Description |
---|
ViolationCreationProcessor(Constraint constraint,
org.apache.log4j.Logger logger,
java.util.Map<ViolationKey,Violation> violationMap) |
Modifier and Type | Method and Description |
---|---|
void |
process(IPatternMatch match)
Defines the action that is to be executed on each match.
|
public ViolationCreationProcessor(Constraint constraint, org.apache.log4j.Logger logger, java.util.Map<ViolationKey,Violation> violationMap)
public void process(IPatternMatch match)
IMatchProcessor
process
in interface IMatchProcessor<IPatternMatch>
match
- a single match of the pattern that must be processed by the implementation of this method