Harness rules
|
Create a harness rule by selecting
Harness
from the User
Interface
category.
To mark the new rule as JSR 168 compliant, select a template rule in the Template field to copy for the harness rule.
You can't add a harness rule to a component RuleSet.
A harness rule has two key parts:
Field |
Description |
Applies To |
Select a class that this harness rule applies to. In most cases, select the name of the class which contains the work objects that the harness rule supports. Choose the class that is most specific to the application and its work objects, rather than a general Work- class. Typically the class you specify in this field is derived from the Work- base class. In special cases, a harness rule can apply to a class derived from the Assign- base class. |
Purpose |
Enter a name for this harness rule. If this rule is to override a standard rule, choose:
Begin the name with a letter and use only alphanumeric, ampersand, and dash characters to form a Java identifier. See How to enter a Java identifier. |
The Template field is optional. Specify PortletHarness
to create a
harness rule that uses portlet-compliant HTML and can be displayed in
a portlet window on a portal server through Service Portlet
rules.
For general information about this form see Completing the new rule dialog box. For general information on the Save As form, see How to enter rule keys using Save As.
FFTT When searching for harness rules, the system:
Time-qualified and circumstance-qualified rule resolution features are not available for harness rules.