Class DefaultNewParam
- java.lang.Object
-
- org.sonar.api.server.rule.RulesDefinition.NewParam
-
- org.sonar.api.server.rule.internal.DefaultNewParam
-
public class DefaultNewParam extends RulesDefinition.NewParam
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
defaultValue()
java.lang.String
description()
java.lang.String
key()
java.lang.String
name()
DefaultNewParam
setDefaultValue(java.lang.String s)
Empty default value will be converted to null.DefaultNewParam
setDescription(java.lang.String s)
Plain-text description.DefaultNewParam
setName(java.lang.String s)
DefaultNewParam
setType(RuleParamType t)
RuleParamType
type()
-
-
-
Method Detail
-
key
public java.lang.String key()
- Specified by:
key
in classRulesDefinition.NewParam
-
setName
public DefaultNewParam setName(@Nullable java.lang.String s)
- Specified by:
setName
in classRulesDefinition.NewParam
-
setType
public DefaultNewParam setType(RuleParamType t)
- Specified by:
setType
in classRulesDefinition.NewParam
-
setDescription
public DefaultNewParam setDescription(@Nullable java.lang.String s)
Description copied from class:RulesDefinition.NewParam
Plain-text description. Can be null. Max length is 4000 characters.- Specified by:
setDescription
in classRulesDefinition.NewParam
-
setDefaultValue
public DefaultNewParam setDefaultValue(@Nullable java.lang.String s)
Description copied from class:RulesDefinition.NewParam
Empty default value will be converted to null. Max length is 4000 characters.- Specified by:
setDefaultValue
in classRulesDefinition.NewParam
-
name
public java.lang.String name()
-
description
public java.lang.String description()
-
defaultValue
public java.lang.String defaultValue()
-
type
public RuleParamType type()
-
-