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

Method applyUpdate

libminifi/src/FlowController.cpp:394–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392}
393
394int16_t FlowController::applyUpdate(const std::string &source, const std::string &configuration, bool persist) {
395 if (applyConfiguration(source, configuration)) {
396 if (persist) {
397 flow_configuration_->persist(configuration);
398 }
399 return 0;
400 } else {
401 return -1;
402 }
403}
404
405int16_t FlowController::clearConnection(const std::string &connection) {
406 if (root_ != nullptr) {

Callers 2

initializeMethod · 0.45

Calls 1

persistMethod · 0.45

Tested by

no test coverage detected