Package org.sonar.api.server.rule
Interface RuleDescriptionSection
-
public interface RuleDescriptionSection
Represents 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 class
RuleDescriptionSection.RuleDescriptionSectionKeys
This 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 RuleDescriptionSectionBuilder
builder()
default java.util.Optional<Context>
getContext()
java.lang.String
getHtmlContent()
java.lang.String
getKey()
-
-
-
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()
-
-