Package com.sonarsource.cobol.api.ast
Class CobolAstCheckRepository
- java.lang.Object
-
- com.sonarsource.cobol.api.ast.CobolAstCheckRepository
-
@ScannerSide @SonarLintSide @ServerSide @Deprecated public abstract class CobolAstCheckRepository extends Object
Deprecated.(it will be removed in version 5.0) UseCobolCheckRepository
instead. See Custom Rules for COBOL DocumentationThis class is used to add custom rules to the SonarSource COBOL analyzer standard rule repository, called "cobol".
-
-
Constructor Summary
Constructors Constructor Description CobolAstCheckRepository()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Collection<Class>
getAllCheckClasses(CobolAstCheckRepository... repositories)
Deprecated.static Collection
getAllChecks(CobolAstCheckRepository... repositories)
Deprecated.Collection<Class<CobolAstCheck>>
getCheckClasses()
Deprecated.Returns a collection of check classes.Collection<CobolAstCheck>
getChecks()
Deprecated.Return a collection of check instances.
-
-
-
Method Detail
-
getCheckClasses
public Collection<Class<CobolAstCheck>> getCheckClasses()
Deprecated.Returns a collection of check classes. Note that this method must be used for multiple cardinality checks.- Returns:
- The collection of check classes
-
getChecks
public Collection<CobolAstCheck> getChecks()
Deprecated.Return a collection of check instances. Note that multiple cardinality check should be passed in usinggetCheckClasses()
- Returns:
-
getAllCheckClasses
public static Collection<Class> getAllCheckClasses(CobolAstCheckRepository... repositories)
Deprecated.
-
getAllChecks
public static Collection getAllChecks(CobolAstCheckRepository... repositories)
Deprecated.
-
-