#include "RequestResetOp.h" namespace TREPS { namespace RequestManager { RequestResetOpClass::RequestResetOpClass(void):RequestAbstractClass() { this->outputType = OUTPUT_NONE; } string RequestResetOpClass::getRequestId(void) { return "reset_op"; } bool RequestResetOpClass::load(RequestLoaderClass *loader) { //init the request and lock working dir if (!this->initOpId(loader,true)) { LOG4CXX_INFO(this->app->getLog()->getPtr(),"Cannot load op Id"); return false; } return true; } bool RequestResetOpClass::run(void) { LOG4CXX_INFO(this->app->getLog()->getPtr(),"Run request " << this->getRequestId()); //delete working directory if (this->dirMgr->removeWorkingDirFromId(this->opId.c_str())) this->opId = ""; return (this->opId.compare("") == 0); } void RequestResetOpClass::writeResult(ResultWriterClass *writer) { //No result file for this request } string RequestResetOpClass::getResultFileSuffix(void) { return ""; } string RequestResetOpClass::getXMLFilePath(void) { return ""; } string RequestResetOpClass::getStringResult(void) { return ""; } } }