Class ModuleDirectoryLayoutRule
- java.lang.Object
-
- com.thomasjensen.checkstyle.addons.sonarqube.AbstractRuleBase
-
- com.thomasjensen.checkstyle.addons.sonarqube.ModuleDirectoryLayoutRule
-
- All Implemented Interfaces:
org.sonar.api.server.rule.RulesDefinition
public class ModuleDirectoryLayoutRule extends AbstractRuleBase
SonarQube rule for our ModuleDirectoryLayout check.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonar.api.server.rule.RulesDefinition
org.sonar.api.server.rule.RulesDefinition.Context, org.sonar.api.server.rule.RulesDefinition.DebtRemediationFunctions, org.sonar.api.server.rule.RulesDefinition.ExtendedRepository, org.sonar.api.server.rule.RulesDefinition.NewExtendedRepository, org.sonar.api.server.rule.RulesDefinition.NewParam, org.sonar.api.server.rule.RulesDefinition.NewRepository, org.sonar.api.server.rule.RulesDefinition.NewRepositoryImpl, org.sonar.api.server.rule.RulesDefinition.NewRule, org.sonar.api.server.rule.RulesDefinition.OwaspTop10, org.sonar.api.server.rule.RulesDefinition.Param, org.sonar.api.server.rule.RulesDefinition.Repository, org.sonar.api.server.rule.RulesDefinition.RepositoryImpl, org.sonar.api.server.rule.RulesDefinition.Rule
-
-
Constructor Summary
Constructors Constructor Description ModuleDirectoryLayoutRule(org.sonar.api.server.rule.RulesDefinition.NewRepository pSqRepo, String pCheckstyleAddonsVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
defineRule(org.sonar.api.server.rule.RulesDefinition.NewRule pNewRule, String pCheckstyleAddonsVersion)
protected String
getRuleId()
-
Methods inherited from class com.thomasjensen.checkstyle.addons.sonarqube.AbstractRuleBase
define, getRuleKey
-
-
-
-
Method Detail
-
getRuleId
@Nonnull protected String getRuleId()
- Specified by:
getRuleId
in classAbstractRuleBase
-
defineRule
protected void defineRule(@Nonnull org.sonar.api.server.rule.RulesDefinition.NewRule pNewRule, @Nonnull String pCheckstyleAddonsVersion)
- Specified by:
defineRule
in classAbstractRuleBase
-
-