Harnesses
|
|
Create a harness 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.
You can't add a harness to a component RuleSet.
A harness has two key parts:
Field |
Description |
Applies To |
Select a class that this harness applies to. In most cases, select the name of the class which contains the work items that the harness supports. Choose the class that is most specific to the application and its work items, 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 can apply to a class derived from the Assign- base class. |
Purpose |
Enter a name for this harness. 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 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.
When searching for harnesses, the system:
Time-qualified and circumstance-qualified rule resolution features are not available for harnesses.