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

Method getAllProcessors

libminifi/src/core/ProcessGroup.cpp:288–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288void ProcessGroup::getAllProcessors(std::vector<std::shared_ptr<Processor>> &processor_vec) {
289 std::lock_guard<std::recursive_mutex> lock(mutex_);
290 std::shared_ptr<Processor> ret = NULL;
291
292 for (auto processor : processors_) {
293 logger_->log_debug("Current processor is %s", processor->getName());
294 processor_vec.push_back(processor);
295 }
296 for (auto processGroup : child_process_groups_) {
297 processGroup->getAllProcessors(processor_vec);
298 }
299}
300
301void ProcessGroup::updatePropertyValue(std::string processorName, std::string propertyName, std::string propertyValue) {
302 std::lock_guard<std::recursive_mutex> lock(mutex_);

Callers 2

getAllComponentsMethod · 0.80

Calls 2

log_debugMethod · 0.80
getNameMethod · 0.45

Tested by

no test coverage detected