/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Static Public Attributes
JobState::State Class Reference

List of all members.

Public Member Functions

def getStateByName
def getName

Static Public Attributes

int UNKNOWN = 0
int RUN_READY = 1
int RUN_PROCESSING = 2
int RUN_DONE = 3
int RUN_FAILED = 4
int STATS_UNKNOWN = 5
int STATS_READY = 6
int STATS_ADDING = 7
int STATS_DONE = 8
int STATS_FAILED = 9
int SUMMARY_UNKNOWN = 10
int SUMMARY_READY = 11
int SUMMARY_PRINTING = 12
int SUMMARY_PRINTED = 13
int SUMMARY_INDEXING = 14
int SUMMARY_INDEXED = 15
int SUMMARY_ADDING = 16
int SUMMARY_DONE = 17
int SUMMARY_FAILED_PRINTING = 18
int SUMMARY_FAILED_INDEXING = 19
int SUMMARY_FAILED_ADDING = 20
int DQDUMP_READY = 21
int DQDUMP_PMTPROCESSING = 22
int DQDUMP_PMTDONE = 23
int DQDUMP_PMTFAILED = 24
int DQDUMP_TRIGGERPROCESSING = 25
int DQDUMP_TRIGGERDONE = 26
int DQDUMP_TRIGGERFAILED = 27
int DQDUMP_RATEDONE = 28
int DQDUMP_RATEFAILED = 29
int DQDUMP_PROCESSING = 30
int DQDUMP_FAILED = 31
int DQDUMP_DONE = 32

Detailed Description

Definition at line 10 of file JobState.py.


Member Function Documentation

def JobState::State::getStateByName (   cls,
  name 
)
Return the state with the given name

Definition at line 51 of file JobState.py.

00052                                  :
00053         """Return the state with the given name"""
00054         if hasattr(cls, name):
00055             return getattr(cls, name)
00056         return State.UNKNOWN

def JobState::State::getName (   cls,
  state 
)
Return the name for a given state

Definition at line 58 of file JobState.py.

00059                            :
00060         """Return the name for a given state"""
00061         for name in dir(cls):
00062             if name.startswith("__"):
00063                 continue
00064             if getattr(cls,name)==state:
00065                 return name
00066         return "UNKNOWN"
            

Member Data Documentation

int JobState::State::UNKNOWN = 0 [static]

Definition at line 11 of file JobState.py.

int JobState::State::RUN_READY = 1 [static]

Definition at line 13 of file JobState.py.

Definition at line 14 of file JobState.py.

int JobState::State::RUN_DONE = 3 [static]

Definition at line 15 of file JobState.py.

int JobState::State::RUN_FAILED = 4 [static]

Definition at line 16 of file JobState.py.

Definition at line 18 of file JobState.py.

int JobState::State::STATS_READY = 6 [static]

Definition at line 19 of file JobState.py.

Definition at line 20 of file JobState.py.

int JobState::State::STATS_DONE = 8 [static]

Definition at line 21 of file JobState.py.

Definition at line 22 of file JobState.py.

Definition at line 24 of file JobState.py.

int JobState::State::SUMMARY_READY = 11 [static]

Definition at line 25 of file JobState.py.

Definition at line 26 of file JobState.py.

Definition at line 27 of file JobState.py.

Definition at line 28 of file JobState.py.

Definition at line 29 of file JobState.py.

Definition at line 30 of file JobState.py.

int JobState::State::SUMMARY_DONE = 17 [static]

Definition at line 31 of file JobState.py.

Definition at line 32 of file JobState.py.

Definition at line 33 of file JobState.py.

Definition at line 34 of file JobState.py.

int JobState::State::DQDUMP_READY = 21 [static]

Definition at line 36 of file JobState.py.

Definition at line 37 of file JobState.py.

Definition at line 38 of file JobState.py.

Definition at line 39 of file JobState.py.

Definition at line 40 of file JobState.py.

Definition at line 41 of file JobState.py.

Definition at line 42 of file JobState.py.

Definition at line 43 of file JobState.py.

Definition at line 44 of file JobState.py.

Definition at line 45 of file JobState.py.

int JobState::State::DQDUMP_FAILED = 31 [static]

Definition at line 46 of file JobState.py.

int JobState::State::DQDUMP_DONE = 32 [static]

Definition at line 47 of file JobState.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:54:04 for ProcessManager by doxygen 1.7.4