MCPcopy Create free account
hub / github.com/apache/cloudstack / jobStatus

Class jobStatus

tools/marvin/marvin/asyncJobMgr.py:35–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34
35class jobStatus(object):
36
37 def __init__(self):
38 self.result = None
39 self.status = None
40 self.startTime = None
41 self.endTime = None
42 self.duration = None
43 self.jobId = None
44 self.responsecls = None
45
46 def __str__(self):
47 return '{%s}' % str(', '.join('%s : %s' % (k, repr(v)) for (k, v)
48 in self.__dict__.items()))
49
50
51class workThread(threading.Thread):

Callers 1

executeCmdMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected