Project

General

Profile

Adding refine runjob » History » Version 4

Christopher Irving, 08/02/2011 11:22 AM

1 1 Christopher Irving
h1. Adding refine job
2 2 Christopher Irving
3 3 Christopher Irving
h3. Add job type to Agent.
4
5 4 Christopher Irving
After you have added a new refinement job class it needs to be added to the job running agent by editing the file apAgent.py in appionlib.  
6 3 Christopher Irving
7
# Add the name of the module you created to the import statements at the top of the file.
8
# In the method _createJobInst_ add the new refinment job type to the condition statements.
9
<pre>
10
  Ex.
11
  elif "newJobType" == jobType:
12
            jobInstance = newModuleName.NewRefinementClass(command)
13
</pre>
14
15 2 Christopher Irving
!Agent_class_diag.png!