Harness form
|
|
Create a harness by selecting Harness
from the User Interface
category.
Records can be created in various ways. You can add a new record to your application or copy an existing one. You can specialize existing rules by creating a copy in a specific ruleset, against a different class or (in some cases) with a set of circumstance definitions. You may copy data instances but they do not support specialization as they are not versioned.
Based on your use case, the Create, Save As or Specialization form is used to create the record. The number of fields and available options vary by record type. Start by familiarizing yourself with the generic layout of these forms and their common fields:
This help topic then identifies the key parts and options that are applicable to the record type you are creating.
Field |
Description |
Apply 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. |
Identifier |
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. |
NOTE: When completing the Add to ruleset field, you can not add a harness to a component RuleSet.
Referred to as Quick Create options, the fields presented in this area of the Create form are optional. Selections made here can be used as a starting point for the rule you are creating:
Field |
Description |
Template |
Select a template rule to copy for the harness and mark the new rule as JSR 168 compliant. Specify |
When searching for rules of this type, the system:
Time-qualified and circumstance-qualified rule resolution features are not available for this rule type.