use of org.ow2.proactive.resourcemanager.nodesource.common.PluginDescriptor in project scheduling by ow2-proactive.
the class RMCore method getPluginsDescriptor.
private Collection<PluginDescriptor> getPluginsDescriptor(Collection<Class<?>> plugins) {
Collection<PluginDescriptor> descriptors = new ArrayList<>(plugins.size());
for (Class<?> cls : plugins) {
Map<String, String> defaultValues = new HashMap<>();
descriptors.add(new PluginDescriptor(cls, defaultValues));
}
return descriptors;
}
Aggregations