Package cdc.issues.api.rules
Interface IssuesDetector.Descriptor<T>
-
- Type Parameters:
T- The data type onto which issue can be detected.
- Enclosing interface:
- IssuesDetector<T>
public static interface IssuesDetector.Descriptor<T>Interface implemented by classes that can describe and create an IssueDetector.- Author:
- Damien Carbonne
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IssuesDetector<T>create(Params params, Set<Rule> rules)Creates and configures an IssuesDetector to analyze some rules.Class<T>getDataClass()FormalParamsgetFormalParams()Set<Rule>getRules()
-
-
-
Method Detail
-
getFormalParams
FormalParams getFormalParams()
- Returns:
- The description of parameters that can or must be used to create an associated IssuesDetector.
-
create
IssuesDetector<T> create(Params params, Set<Rule> rules)
Creates and configures an IssuesDetector to analyze some rules.- Parameters:
params- The effective parameters to use. Meaningless parameters can be passed. They musty be ignored.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.
-
-