+ 26 // level 1
+ 52 // content of DaoModule
+ 3 // content of EsSearchModule
- + 67 // content of CorePropertyDefinitions
+ + 66 // content of CorePropertyDefinitions
+ 1 // StopFlagContainer
);
assertThat(
.build(),
PropertyDefinition.builder(CoreProperties.PREVIEW_INCLUDE_PLUGINS)
.name("Plugins accepted for Preview mode")
- .description("List of plugin keys. Those plugins will be used during preview analyses.")
+ .description("DEPRECATED - List of plugin keys. Those plugins will be used during preview analyses.")
.category(CoreProperties.CATEGORY_GENERAL)
.multiValues(true)
.defaultValue(CoreProperties.PREVIEW_INCLUDE_PLUGINS_DEFAULT_VALUE)
.build(),
PropertyDefinition.builder(CoreProperties.PREVIEW_EXCLUDE_PLUGINS)
.name("Plugins excluded for Preview mode")
- .description("List of plugin keys. Those plugins will not be used during preview analyses.")
+ .description("DEPRECATED - List of plugin keys. Those plugins will not be used during preview analyses.")
.category(CoreProperties.CATEGORY_GENERAL)
.multiValues(true)
.defaultValue(CoreProperties.PREVIEW_EXCLUDE_PLUGINS_DEFAULT_VALUE)
import java.util.List;
import org.sonar.api.CoreProperties;
-import org.sonar.api.PropertyType;
import org.sonar.api.config.PropertyDefinition;
import org.sonar.api.resources.Qualifiers;
public static List<PropertyDefinition> all() {
return asList(
- PropertyDefinition.builder(CoreProperties.ANALYSIS_MODE)
- .name("Analysis mode")
- .type(PropertyType.SINGLE_SELECT_LIST)
- .options(asList(CoreProperties.ANALYSIS_MODE_ANALYSIS, CoreProperties.ANALYSIS_MODE_PREVIEW, CoreProperties.ANALYSIS_MODE_INCREMENTAL))
- .category(CoreProperties.CATEGORY_GENERAL)
- .defaultValue(CoreProperties.ANALYSIS_MODE_ANALYSIS)
- .hidden()
- .build(),
PropertyDefinition.builder(CoreProperties.SCM_DISABLED_KEY)
.name("Disable the SCM Sensor")
.description("Disable the retrieval of blame information from Source Control Manager")
@Test
public void all() {
List<PropertyDefinition> defs = CorePropertyDefinitions.all();
- assertThat(defs).hasSize(67);
+ assertThat(defs).hasSize(66);
}
@Test