Package elisa :: Package extern :: Module translation :: Class Result
[hide private]
[frames] | no frames]

Class Result

source code


I am used in worker checks to return a result.

Instance Methods [hide private]
 
__init__(self) source code
 
succeed(self, value)
Make the result be successful, setting the given result value.
source code
 
add(self, message)
Add a message to the result.
source code

Inherited from twisted.spread.flavors.Copyable: getStateToCopy, getStateToCopyFor, getTypeToCopy, getTypeToCopyFor, jellyFor

Inherited from twisted.spread.flavors.Serializable: processUniqueID

Inherited from twisted.spread.jelly.Jellyable: __providedBy__, getStateFor

Inherited from twisted.spread.flavors.RemoteCopy: setCopyableState, unjellyFor

Inherited from twisted.spread.jelly.Unjellyable: setStateFor

Class Variables [hide private]

Inherited from twisted.spread.flavors.Serializable: __implemented__, __provides__

Instance Variables [hide private]
  failed
whether or not the check failed.
list of Message messages
list of messages
  value
the result value of the check
Method Details [hide private]

add(self, message)

source code 
Add a message to the result.

Instance Variable Details [hide private]

failed

whether or not the check failed. Typically triggered by adding an ERROR message to the result.