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

Method setAttribute

extensions/script/ScriptFlowFile.cpp:55–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55bool ScriptFlowFile::setAttribute(const std::string &key, const std::string &value) {
56 if (!flow_file_) {
57 throw std::runtime_error("Access of FlowFile after it has been released");
58 }
59
60 return flow_file_->setAttribute(key, value);
61}
62
63bool ScriptFlowFile::updateAttribute(std::string key, std::string value) {
64 if (!flow_file_) {

Callers 15

transmit_flowfileFunction · 0.45
runNextProcessorMethod · 0.45
setHeaderAttributesMethod · 0.45
enqueueRequestMethod · 0.45
OPCData2FlowFileMethod · 0.45
onTriggerMethod · 0.45
preprocessFlowFileMethod · 0.45
onTriggerMethod · 0.45
onTriggerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected