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 : public HandlersBuilderIfc<VersionActionPack>
16 {
17   public:
18     std::vector<HandlerConfig<VersionActionPack>>
19         buildHandlerFromJson(const nlohmann::json& data) override;
20 };
21 } // namespace ipmi_flash
22