Bases: object
Load the watchrule object.
The object can be loaded either from the DB by name or from an existing DB object.
Temporarily set the watch state.
Returns: | list of functions to be scheduled in the stack ThreadGroup for the specified state. |
---|
Store the watchrule in the database and return its ID.
If self.id is set, we update the existing rule.