use of jenkins.model.GlobalConfigurationCategory in project configuration-as-code-plugin by jenkinsci.
the class RootElementConfigurator method all.
static List<RootElementConfigurator> all() {
List<RootElementConfigurator> configurators = new ArrayList<>();
final Jenkins jenkins = Jenkins.getInstance();
configurators.addAll(jenkins.getExtensionList(RootElementConfigurator.class));
for (GlobalConfigurationCategory category : GlobalConfigurationCategory.all()) {
configurators.add(new GlobalConfigurationCategoryConfigurator(category));
}
return configurators;
}
Aggregations