Back to index

plone3  3.1.7
Static Public Attributes
plone.contentrules.rule.interfaces.IRule Class Reference
Inheritance diagram for plone.contentrules.rule.interfaces.IRule:
Inheritance graph
Collaboration diagram for plone.contentrules.rule.interfaces.IRule:
Collaboration graph

List of all members.

Static Public Attributes

tuple conditions
tuple actions
tuple title
tuple description
tuple event
tuple enabled
tuple stop

Detailed Description

A rule - a collection of rule elements.

A rule is composed, normally through the user interface, of conditions and
actions. Upon some event, rules that are relevant in the given context will
be executed by adapting them to IExecutable and running its execute()

When saved in a rule storage, it will be given a name.

Definition at line 119 of file

Member Data Documentation

Initial value:
schema.List(title = u'Actions',
                          description = u'The actions of this rule',
                          required = True)

Definition at line 135 of file

Initial value:
schema.List(title = u'Conditions',
                             description = u'The conditions of this rule',
                             required = True)

Definition at line 131 of file

Initial value:
schema.Text(title = _(u'Description'),
                              description = _(u'A summary of the rule'),
                              required = False)

Definition at line 102 of file

Initial value:
schema.Bool(title = _(u'Enabled'),
                          description = _(u'Whether or not the rule is currently enabled'),
                          default = True)

Definition at line 111 of file

Initial value:
schema.Choice(title = _(u'Triggering event'),
                          description = _(u'The event that can trigger this rule'),
                          required = True,

Definition at line 106 of file

Initial value:
schema.Bool(title = _(u"Stop executing rules"),
                       description = _(u"Whether or not execution of further rules should stop after this rule is executed"),
                       default = False)

Definition at line 115 of file

Initial value:
schema.TextLine(title = _(u'Title'),
                            description = _(u'The title of the rule'),
                            required = True)

Definition at line 98 of file

The documentation for this class was generated from the following file: