MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / getGroupForClass

Method getGroupForClass

libminifi/include/core/ClassLoader.h:355–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353 }
354
355 std::string getGroupForClass(const std::string &class_name) {
356 std::lock_guard<std::mutex> lock(internal_mutex_);
357 auto factory_entry = class_to_group_.find(class_name);
358 if (factory_entry != class_to_group_.end()) {
359 return factory_entry->second;
360 } else {
361 return "";
362 }
363 }
364
365 /**
366 * Instantiate object based on class_name

Callers 2

getBundlesMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected