| 53 | } |
| 54 | |
| 55 | bool 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 | |
| 63 | bool ScriptFlowFile::updateAttribute(std::string key, std::string value) { |
| 64 | if (!flow_file_) { |
no outgoing calls
no test coverage detected