blob: 0ec85ae7292e85a8435cf56f00955bdea1a90b78 [file] [log] [blame]
#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