#pragma once
#include <saas/deploy_manager/scripts/cluster/cluster_task.h>
#include <saas/library/searchmap/slots_pool.h>

#define ACTIVATE_SLOTS_TASK_TYPE "ACTIVATE_SLOTS_TASK"

namespace NRTYDeploy {

    class TActivateSlotsTask: public TClusterTask {
    private:
        NSearchMapParser::TSlotsPool Slots;
    public:
        TActivateSlotsTask(const NSearchMapParser::TSlotsPool& slots, const TClusterTask::TCgiContext& context, NRTYDeploy::ICommonData* commonData);
        virtual void DoBuildTask();
    };

}
