Package cdc.issues.rules
Interface IssuesDetector.Descriptor<T>
-
- Type Parameters:
T- The data type onto which issue can be detected.
- All Known Implementing Classes:
IssuesDetector.AbstractDescriptor
- Enclosing interface:
- IssuesDetector<T>
public static interface IssuesDetector.Descriptor<T>Interface implemented by classes that can describe and create an IssuesDetector.- Author:
- Damien Carbonne
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IssuesDetector<T>create(String project, String snapshot, Set<Rule> rules)Creates and configures an IssuesDetector to analyze some rules.Class<T>getDataClass()Set<Rule>getRules()
-
-
-
Method Detail
-
create
IssuesDetector<T> create(String project, String snapshot, Set<Rule> rules)
Creates and configures an IssuesDetector to analyze some rules.- Parameters:
project- The project for which detection is run.snapshot- The snapshot for which detection is run.rules- The rules for which analysis must be performed.
It must be a subset of supported rules.- Returns:
- A newly created IssuesDetector, configured with
paramsandrules.
-
-