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

Method getProperty

libminifi/src/core/ConfigurableComponent.cpp:49–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47ConfigurableComponent::~ConfigurableComponent() = default;
48
49bool ConfigurableComponent::getProperty(const std::string &name, Property &prop) const {
50 std::lock_guard<std::mutex> lock(configuration_mutex_);
51
52 auto &&it = properties_.find(name);
53
54 if (it != properties_.end()) {
55 prop = it->second;
56 return true;
57 } else {
58 return false;
59 }
60}
61
62/**
63 * Sets the property using the provided name

Callers 5

onScheduleMethod · 0.45
onScheduleMethod · 0.45
onScheduleMethod · 0.45
parseSinglePropertyMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 2

onScheduleMethod · 0.36
onScheduleMethod · 0.36