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

Method addAttribute

extensions/script/ScriptFlowFile.cpp:47–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47bool ScriptFlowFile::addAttribute(const std::string &key, const std::string &value) {
48 if (!flow_file_) {
49 throw std::runtime_error("Access of FlowFile after it has been released");
50 }
51
52 return flow_file_->addAttribute(key, value);
53}
54
55bool ScriptFlowFile::setAttribute(const std::string &key, const std::string &value) {
56 if (!flow_file_) {

Callers 15

processOnTriggerMethod · 0.45
processOnTriggerMethod · 0.45
onTriggerFunction · 0.45
onTriggerMethod · 0.45
onTriggerMethod · 0.45
onTriggerMethod · 0.45
onTriggerFunction · 0.45
onTriggerFunction · 0.45
onTriggerFunction · 0.45
onTriggerMethod · 0.45
onTriggerMethod · 0.45

Calls

no outgoing calls

Tested by 1

onTriggerMethod · 0.36