The include and exclude properties in the recorder config file tell the recorder which classes to record.
Class Inclusion Model
The model by which the recorder chooses which classes are to be recorded is as follows:
- By default, all classes are excluded from recording.
- You then specify which classes should be included.
- In case of a conflict between rules, where a class is both included and excluded at the same time, exclusion will take precendence.
- All classes in the java.** namespace are excluded by default in the recorder, so they cannot be included due to rule 3.
Include/Exclude Pattern Types
Include and Exclude properties takes 'class patterns' as values to select classes to include/exclude.
Selects entire com.myorg namespace. Any classname that begins with
Selects only the classes in the com.myorg package.
Selects only the specified class