1 #pragma once
2 #include "buildjson.hpp"
3 #include "version_handler.hpp"
4 
5 #include <nlohmann/json.hpp>
6 
7 #include <vector>
8 
9 namespace ipmi_flash
10 {
11 /**
12  * provide the method to parse and validate blob entries from json and produce
13  * something that is usable by the version handler.
14  */
15 class VersionHandlersBuilder :
16     public HandlersBuilderIfc<VersionBlobHandler::ActionPack>
17 {
18   public:
19     std::vector<HandlerConfig<VersionBlobHandler::ActionPack>>
20         buildHandlerFromJson(const nlohmann::json& data) override;
21 };
22 } // namespace ipmi_flash
23