Package org.sonar.api.server.rule
Interface RuleDescriptionSection
-
public interface RuleDescriptionSectionRepresents a sub-section of a rule description (What's the risk, Assess the risk, etc.)- Since:
- 9.6
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRuleDescriptionSection.RuleDescriptionSectionKeysThis class is a placeholder for the supported rule description section key constants.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static RuleDescriptionSectionBuilderbuilder()default java.util.Optional<Context>getContext()java.lang.StringgetHtmlContent()java.lang.StringgetKey()
-
-
-
Method Detail
-
getKey
java.lang.String getKey()
-
getHtmlContent
java.lang.String getHtmlContent()
-
getContext
default java.util.Optional<Context> getContext()
- Since:
- 9.7
-
builder
static RuleDescriptionSectionBuilder builder()
-
-