blob: e3d653c0e64741cc21e27e7a34bd5934a09b66de [file] [log] [blame]
#pragma once
#include <string>
class AssociationInterface
{
public:
virtual ~AssociationInterface() = default;
/** @brief Create an active association to the
* newly active software image
*
* @param[in] path - The path to create the association to.
*/
virtual void createActiveAssociation(const std::string& path) = 0;
/** @brief Add the functional association to the
* new "running" PSU images
*
* @param[in] path - The path to add the association to.
*/
virtual void addFunctionalAssociation(const std::string& path) = 0;
/** @brief Remove the associations from the provided software image path
*
* @param[in] path - The path to remove the association from.
*/
virtual void removeAssociation(const std::string& path) = 0;
};