Package com.hack23.sonar.cloudformation
Class CloudformationRulesDefinition
java.lang.Object
com.hack23.sonar.cloudformation.CloudformationRulesDefinition
- All Implemented Interfaces:
org.sonar.api.server.rule.RulesDefinition
public final class CloudformationRulesDefinition
extends Object
implements org.sonar.api.server.rule.RulesDefinition
The Class CloudformationRulesDefinition.
-
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, org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCloudformationRulesDefinition
(org.sonar.api.server.rule.RulesDefinitionXmlLoader xmlLoader) Instantiates a new cloudformation rules definition. -
Method Summary
Modifier and TypeMethodDescriptionvoid
define
(org.sonar.api.server.rule.RulesDefinition.Context context) Define.org.sonar.api.server.rule.RulesDefinition.Context
Gets the context.
-
Field Details
-
KEY
The Constant KEY.- See Also:
-
NAME
The Constant NAME.- See Also:
-
-
Constructor Details
-
CloudformationRulesDefinition
public CloudformationRulesDefinition(org.sonar.api.server.rule.RulesDefinitionXmlLoader xmlLoader) Instantiates a new cloudformation rules definition.- Parameters:
xmlLoader
- the xml loader
-
-
Method Details
-
getContext
public org.sonar.api.server.rule.RulesDefinition.Context getContext()Gets the context.- Returns:
- the context
-
define
public void define(org.sonar.api.server.rule.RulesDefinition.Context context) Define.- Specified by:
define
in interfaceorg.sonar.api.server.rule.RulesDefinition
- Parameters:
context
- the context
-