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

Method getValue

libminifi/src/properties/PropertiesFile.cpp:91–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91utils::optional<std::string> PropertiesFile::getValue(const std::string& key) const {
92 const auto it = findKey(key);
93 if (it != lines_.end()) {
94 return it->getValue();
95 } else {
96 return utils::nullopt;
97 }
98}
99
100void PropertiesFile::update(const std::string& key, const std::string& value) {
101 auto it = findKey(key);

Callers 6

onScheduleMethod · 0.45
loadConfigureFileMethod · 0.45
setPropertyMethod · 0.45
getDynamicPropertyMethod · 0.45
setJsonStrFunction · 0.45

Calls 1

endMethod · 0.45

Tested by

no test coverage detected