CRule - Rule object

class CRule(id) → CRule

Creates a new CRule object with the given id.

CRule is a simple class type that carries a weight indicator and arbitrary code data for usage in the dynamic script generation process.

Attributes

CRule.code

Gets or sets the code of the CRule.

CRule.id

Gets the id of the CRule.

CRule.used

Indicates whether the CRule was used or not.

CRule.weight

Gets or sets the weight of the CRule.

Table Of Contents

Previous topic

Python API reference

Next topic

CRuleSet - Rule container

This Page