Difference between revisions of "GVBufferCondition"
(→{{VULCON}} / {{GVCONSOLE}} Configuration) |
(→{{VULCON}} / {{GVCONSOLE}} Configuration) |
||
Line 30: | Line 30: | ||
Its subelements are: | Its subelements are: | ||
* Description | * Description | ||
− | * [[RetCodeField]] | + | * [[GVBufferCondition#RetCodeField|RetCodeField]] |
− | * [[Property]] or [[PropertyCompare]] | + | * [[GVBufferCondition#Property|Property]] or [[GVBufferCondition#PropertyCompare|PropertyCompare]] |
===RetCodeField=== | ===RetCodeField=== |
Revision as of 22:34, 9 February 2012
Description
This element allows you to specify the conditions that the fields buffer GVBuffer must meet.
VulCon / GV Console Configuration
A GVBufferCondition lets you specify multiple conditions on individual fields. The conditions are evaluated in AND.
The following table shows the GVBufferCondition element's attributes:
Attribute | Type | Description |
---|---|---|
type | fixed | This attribute must assume the value condition. |
class | fixed | This attribute must assume the value it.greenvulcano.gvesb.internal.condition.GVBufferCondition. |
condition | required | This attribute defines the name of the condition. Unique inside the Conditions element. |
throw-exception | optional | If true an error during execution cause an Exception to be thrown.
If false an error during execution cause the condition to return "false". Default to "false".
|
system | optional | The attribute verify that the system field contains the configured value. |
service | optional | The attribute verify that the service field contains the configured value. |
Its subelements are:
- Description
- RetCodeField
- Property or PropertyCompare
RetCodeField
This element verifies that the return code is in a certain range of values. You can specify multiple ranges. The condition is verified if the return code is at least in one of configured ranges.
The following table shows the RetCodeField element's attributes:
Attribute | Type | Description |
---|---|---|
type | fixed | This attribute must assume the value gvbuffer-field. |
name | fixed | Defines the name of field return code. This attribute must assume the value RetCodeField. |
Its subelements are:
- Description
- RangeDef
RangeDef
This element specifies a range of values.
The following table show the element's attributes RangeDef:
Attribute | Type | Description |
---|---|---|
min | optional | This attribute defines the minimum value of the range.
If not specified, assumes 'the minimum allowable value'. |
max | optional | This attribute defines the maximum value of the range.
If not specified, assumes 'the maximum allowable value'. |