Back to index

nordugrid-arc-nox  1.1.0~rc6
SubmitterCREAM.h
Go to the documentation of this file.
00001 // -*- indent-tabs-mode: nil -*-
00002 
00003 #ifndef __ARC_SUBMITTERCREAM_H__
00004 #define __ARC_SUBMITTERCREAM_H__
00005 
00006 #include <arc/client/Submitter.h>
00007 
00008 namespace Arc {
00009 
00010   class Config;
00011 
00012   class SubmitterCREAM
00013     : public Submitter {
00014 
00015   private:
00016     SubmitterCREAM(const UserConfig& usercfg);
00017     ~SubmitterCREAM();
00018 
00019   public:
00020     static Plugin* Instance(PluginArgument *arg);
00021     URL Submit(const JobDescription& jobdesc,
00022                const ExecutionTarget& et) const;
00023     URL Migrate(const URL& jobid, const JobDescription& jobdesc,
00024                 const ExecutionTarget& et,
00025                 bool forcemigration) const;
00026     bool ModifyJobDescription(JobDescription& jobdesc, const ExecutionTarget& et) const;
00027   };
00028 
00029 } // namespace Arc
00030 
00031 #endif // __ARC_SUBMITTERCREAM_H__