use of alien4cloud.plugin.model.PluginComponent in project alien4cloud by alien4cloud.
the class RepositoryService method listPluginComponents.
public List<RepositoryPluginComponent> listPluginComponents() {
List<RepositoryPluginComponent> repositoryPluginComponents = new ArrayList<>();
List<PluginComponent> pluginComponents = pluginManager.getPluginComponents(IArtifactResolver.class.getSimpleName());
repositoryPluginComponents.addAll(pluginComponents.stream().map(pluginComponent -> new RepositoryPluginComponent(pluginComponent, getResolverFactoryOrFail(pluginComponent.getPluginId()).getResolverType())).collect(Collectors.toList()));
return repositoryPluginComponents;
}
Aggregations