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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The Constant KEY.
    static final String
    The Constant NAME.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CloudformationRulesDefinition(org.sonar.api.server.rule.RulesDefinitionXmlLoader xmlLoader)
    Instantiates a new cloudformation rules definition.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    define(org.sonar.api.server.rule.RulesDefinition.Context context)
    Define.
    org.sonar.api.server.rule.RulesDefinition.Context
    Gets the context.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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 interface org.sonar.api.server.rule.RulesDefinition
      Parameters:
      context - the context