Property<bool> debug_mode;
/**
+ * \brief boolean property that indicates
+ * the request is for skip optimization or not.
+ */
+ Property<bool> skip_optimization;
+
+ /**
* \brief Property of vector of files to add
*/
Property<std::vector<std::string>> files_to_add;
return (pkgmgr_installer_get_skip_check_reference(pi_) == 1);
}
+bool PkgMgrInterface::GetSkipOptimization() const {
+ return (pkgmgr_installer_get_skip_optimization(pi_) == 1);
+}
+
} // namespace common_installer
bool GetIsSkipCheckReference() const;
/**
+ * Returns True if the request is skip optimization. Otherwise, return false;
+ *
+ * \return True if the request is skip optimization. Otherwise, return false;
+ */
+ bool GetSkipOptimization() const;
+
+ /**
* Get Raw pointer to pkgmgr_installer object
* NOTE: It should not be used (PkgMgrInterface can destroy it
*
SetupFileCreationMask();
SetupDebugMode();
SetupSkipCheckReference();
+ SetupSkipOptimization();
if (!SetupRootAppDirectory())
return Status::CONFIG_ERROR;
context_->skip_check_reference.set(pkgmgr_->GetIsSkipCheckReference());
}
+void StepConfigure::SetupSkipOptimization() {
+ context_->skip_optimization.set(pkgmgr_->GetSkipOptimization());
+}
+
void StepConfigure::SetupMoveType() {
int move_type = pkgmgr_->GetMoveType();
switch (move_type) {
void SetupIsPartialRW();
void SetupDebugMode();
void SetupSkipCheckReference();
+ void SetupSkipOptimization();
void SetupMoveType();
PkgMgrPtr pkgmgr_;