| 61 | } |
| 62 | |
| 63 | bool ScriptFlowFile::updateAttribute(std::string key, std::string value) { |
| 64 | if (!flow_file_) { |
| 65 | throw std::runtime_error("Access of FlowFile after it has been released"); |
| 66 | } |
| 67 | |
| 68 | return flow_file_->updateAttribute(std::move(key), std::move(value)); |
| 69 | } |
| 70 | |
| 71 | bool ScriptFlowFile::removeAttribute(std::string key) { |
| 72 | if (!flow_file_) { |
no outgoing calls
no test coverage detected