Adding refine runjob » History » Version 3
Christopher Irving, 08/02/2011 11:21 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 | After you have added the new refinement methods job class it needs to be added to the job running agent by editting the file apAgent.py in appionlib. |
||
| 6 | |||
| 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! |