use of org.bimserver.interfaces.objects.SObjectIDMPluginDescriptor in project BIMserver by opensourceBIM.
the class PluginServiceImpl method getAllObjectIDMPluginDescriptors.
@Override
public List<SObjectIDMPluginDescriptor> getAllObjectIDMPluginDescriptors() throws UserException {
requireRealUserAuthentication();
Collection<ObjectIDMPlugin> allObjectIDMs = getBimServer().getPluginManager().getAllObjectIDMPlugins(true).values();
List<SObjectIDMPluginDescriptor> descriptors = new ArrayList<SObjectIDMPluginDescriptor>();
for (ObjectIDMPlugin ObjectIDMPlugin : allObjectIDMs) {
SObjectIDMPluginDescriptor descriptor = new SObjectIDMPluginDescriptor();
descriptor.setClassName(ObjectIDMPlugin.getClass().getName());
descriptors.add(descriptor);
}
return descriptors;
}
Aggregations