agent.rules.base module¶
Provides the core representation of a rule.
- 
class 
agent.rules.base.Rule(event_type, condition, params, process, name)¶ Bases:
objectRepresents an event rule for a process.
A rule defines the circumstances under which a process should be carried out. Specifically, a rule is associated with a particular type of event, and a function that determines whether the process should be carried out based on the event properties and/or the state of the submission.