Package cdc.issues.rules
Class AbstractIssueDetector<T>
- java.lang.Object
-
- cdc.issues.rules.AbstractIssueDetector<T>
-
- All Implemented Interfaces:
IssuesDetector<T>
public abstract class AbstractIssueDetector<T> extends Object implements IssuesDetector<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface cdc.issues.rules.IssuesDetector
IssuesDetector.AbstractDescriptor<T>, IssuesDetector.Descriptor<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected IssuesDetector.Descriptor<T>descriptorprotected Set<Rule>enabledRulesprotected Stringprojectprotected Stringsnapshot
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractIssueDetector(IssuesDetector.Descriptor<T> descriptor, String project, String snapshot, Set<Rule> rules)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IssuesDetector.Descriptor<T>getDescriptor()Set<Rule>getEnabledRules()StringgetProject()StringgetSnapshot()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface cdc.issues.rules.IssuesDetector
analyze, analyze, getDataClass
-
-
-
-
Method Detail
-
getDescriptor
public IssuesDetector.Descriptor<T> getDescriptor()
- Specified by:
getDescriptorin interfaceIssuesDetector<T>- Returns:
- The descriptor that was used to create this IssuesDetector.
-
getProject
public final String getProject()
- Specified by:
getProjectin interfaceIssuesDetector<T>- Returns:
- The project of analyzed data.
-
getSnapshot
public final String getSnapshot()
- Specified by:
getSnapshotin interfaceIssuesDetector<T>- Returns:
- The snapshot for which analysis is done.
-
getEnabledRules
public final Set<Rule> getEnabledRules()
- Specified by:
getEnabledRulesin interfaceIssuesDetector<T>- Returns:
- The set of enabled Rules.
-
-