Chapter 4 Extending your Models with Profiles
When you create custom checks you have to define the following general properties:
Parameter | Description |
---|---|
Name | Name of the custom check. This name is displayed under the selected object category in the Check Model Parameters dialog box. This name is also used (concatenated) in the check function name to uniquely identify it |
Comment | Additional information about the custom check |
Help Message | Text displayed in the message box that is displayed when the user selects Help in the custom check context menu in the Check Model Parameters dialog box |
Output message | Text displayed in the Output window during check execution |
Default severity | Allows you to define if the custom check is an error (major problem that stops generation) or a warning (minor problem or just recommendation) |
Execute the check by default | Allows you to make sure that this custom check is selected by default in the Check Model Parameters dialog box |
Enable automatic correction | Allows you to authorize automatic correction for the custom check |
Execute the automatic correction by default | Allows you to make sure that automatic correction for this custom check is executed by default |
Check Script | This tab contains the custom check script. See Defining the script of a custom check. |
Autofix Script | This tab contains the autofix script. See Defining the script of an autofix |
Global Script | This tab is used for sharing library functions and static attributes in the resource file. See Using the global script. |
Copyright (C) 2008. Sybase Inc. All rights reserved. |