| #pragma once |
| #include "buildjson.hpp" |
| #include "version_handler.hpp" |
| |
| #include <nlohmann/json.hpp> |
| |
| #include <vector> |
| |
| namespace ipmi_flash |
| { |
| /** |
| * provide the method to parse and validate blob entries from json and produce |
| * something that is usable by the version handler. |
| */ |
| class VersionHandlersBuilder : |
| public HandlersBuilderIfc<VersionBlobHandler::ActionPack> |
| { |
| public: |
| std::vector<HandlerConfig<VersionBlobHandler::ActionPack>> |
| buildHandlerFromJson(const nlohmann::json& data) override; |
| }; |
| } // namespace ipmi_flash |