|
@@ -58,6 +58,8 @@ public:
|
|
|
void setPostCmdLine(const std::string &postCmdLine);
|
|
void setPostCmdLine(const std::string &postCmdLine);
|
|
|
std::string getRunasUser() const;
|
|
std::string getRunasUser() const;
|
|
|
void setRunasUser(const std::string &runasUser);
|
|
void setRunasUser(const std::string &runasUser);
|
|
|
|
|
+ int getCpu() const;
|
|
|
|
|
+ void setCpu(int cpu);
|
|
|
std::string getClusterId() const;
|
|
std::string getClusterId() const;
|
|
|
void setClusterId(const std::string &clusterId);
|
|
void setClusterId(const std::string &clusterId);
|
|
|
bool getReRunable() const;
|
|
bool getReRunable() const;
|
|
@@ -70,6 +72,8 @@ public:
|
|
|
void setGpu(int gpu);
|
|
void setGpu(int gpu);
|
|
|
int getNode() const;
|
|
int getNode() const;
|
|
|
void setNode(int node);
|
|
void setNode(int node);
|
|
|
|
|
+ bool getAsync() const;
|
|
|
|
|
+ void setAsync(bool async);
|
|
|
int getTask() const;
|
|
int getTask() const;
|
|
|
void setTask(int task);
|
|
void setTask(int task);
|
|
|
std::string getInputFileUrl() const;
|
|
std::string getInputFileUrl() const;
|
|
@@ -94,12 +98,14 @@ private:
|
|
|
std::string variables_;
|
|
std::string variables_;
|
|
|
std::string postCmdLine_;
|
|
std::string postCmdLine_;
|
|
|
std::string runasUser_;
|
|
std::string runasUser_;
|
|
|
|
|
+ int cpu_;
|
|
|
std::string clusterId_;
|
|
std::string clusterId_;
|
|
|
bool reRunable_;
|
|
bool reRunable_;
|
|
|
int thread_;
|
|
int thread_;
|
|
|
int priority_;
|
|
int priority_;
|
|
|
int gpu_;
|
|
int gpu_;
|
|
|
int node_;
|
|
int node_;
|
|
|
|
|
+ bool async_;
|
|
|
int task_;
|
|
int task_;
|
|
|
std::string inputFileUrl_;
|
|
std::string inputFileUrl_;
|
|
|
std::string name_;
|
|
std::string name_;
|