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

Method setProperty

libminifi/include/core/ProcessorNode.h:82–89  ·  view source on GitHub ↗

* Sets the property using the provided name * @param property name * @param value property value. * @return result of setting property. */

Source from the content-addressed store, hash-verified

80 * @return result of setting property.
81 */
82 bool setProperty(const std::string &name, std::string value) {
83 const std::shared_ptr<ConfigurableComponent> processor_cast = std::dynamic_pointer_cast<ConfigurableComponent>(processor_);
84 bool ret = ConfigurableComponent::setProperty(name, value);
85 if (nullptr != processor_cast)
86 ret = processor_cast->setProperty(name, value);
87
88 return ret;
89 }
90
91 /**
92 * Get dynamic property using the provided name.

Callers 1

createProcessorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected