| Trees | Index | Help |
|
|---|
| Package ZenModel :: Module ZenStatus :: Class ZenStatus |
|
object--+ |Base--+ |object--+ | | |Persistent--+ |Persistent--+ | ZenStatus
ZenAvailability| Method Summary | |
|---|---|
__init__(self,
status)
| |
get the color to display in the gui | |
get objects current status this is the number of failure increments that have been called | |
get status as a string will convert as per converstions | |
increment the failure status | |
reset status when failure is over | |
setStatus(self,
status)
| |
Inherited from Persistent:
__class_init__,
__getattribute__,
bobobase_modification_time,
locked_in_version,
modified_in_version
Inherited from Persistent:
__delattr__,
__getstate__,
__new__,
__reduce__,
__setattr__,
__setstate__
Inherited from Base:
__getnewargs__
Inherited from object:
__hash__,
__reduce_ex__,
__repr__,
__str__
| |
| Class Variable Summary | |
|---|---|
dict |
conversions = {0: 'Up', -1: 'Not Tested', -2: 'No DNS'}
|
| Method Details |
|---|
color(self)get the color to display in the gui |
getStatus(self)get objects current status this is the number of failure increments that have been called |
getStatusString(self)get status as a string will convert as per converstions |
incr(self)increment the failure status |
reset(self)reset status when failure is over |
| Class Variable Details |
|---|
conversions
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Aug 16 09:55:14 2007 | http://epydoc.sf.net |