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

Method updatePropertyValue

libminifi/src/core/ProcessGroup.cpp:301–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299}
300
301void ProcessGroup::updatePropertyValue(std::string processorName, std::string propertyName, std::string propertyValue) {
302 std::lock_guard<std::recursive_mutex> lock(mutex_);
303 for (auto processor : processors_) {
304 if (processor->getName() == processorName) {
305 processor->setProperty(propertyName, propertyValue);
306 }
307 }
308 for (auto processGroup : child_process_groups_) {
309 processGroup->updatePropertyValue(processorName, propertyName, propertyValue);
310 }
311}
312
313void ProcessGroup::getConnections(std::map<std::string, std::shared_ptr<Connection>> &connectionMap) {
314 for (auto connection : connections_) {

Callers 3

runAssertionsMethod · 0.45
sendReportReqMethod · 0.45
runAssertionsMethod · 0.45

Calls 2

getNameMethod · 0.45
setPropertyMethod · 0.45

Tested by 2

runAssertionsMethod · 0.36
runAssertionsMethod · 0.36