1 // Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
2 // Use of this source code is governed by a apache 2.0 license that can be
3 // found in the LICENSE file.
5 #ifndef COMMON_STEP_RDS_STEP_RDS_PARSE_H_
6 #define COMMON_STEP_RDS_STEP_RDS_PARSE_H_
8 #include <common/step/step.h>
14 #include "common/installer_context.h"
16 namespace common_installer {
20 * \brief This step parse .rds_delta file
22 * This is to prepare RDS installation process
24 class StepRDSParse : public Step {
29 * \brief Parse .rds_delta file
31 * \return Status::ERROR when wgt backend data are missing,
32 * Status::OK otherwise
34 Status process() override;
37 Status clean() override { return Status::OK; }
38 Status undo() override { return Status::OK; }
41 * \brief Validate if .rds_delta file exist
43 * \return Status::Error if file not exist,
44 * Status::OK otherwise
46 Status precheck() override;
49 std::filesystem::path rds_file_path_;
55 } // namespace common_installer
57 #endif // COMMON_STEP_RDS_STEP_RDS_PARSE_H_