Creating an Advice Item Rule Class

About this task

As described previously, the purpose of each advice context is to produce a list of advice items that are associated with the context. To create an advice item for the list, the rule set developer must first create a rule class which defines the advice item, and then add an instance of the rule class to the list of advice on the advice context.

To create an advice item rule class:

Procedure

  1. Create the rule class using the CER Editor.
  2. Give the rule class an appropriate name.
  3. Specify that the rule class inherits from AbstractAdviceItem defined in the rule set named CoreAdvisorRuleSet.

Results

The following subsections describe the rule attributes that can be specified.