Back to index

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