Difference between revisions of "GVBufferCondition"
(Created page with "==Description== This element allows you to specify the conditions that the fields buffer GVBuffer must meet. =={{VULCON}} / {{GVCONSOLE}} Configuration== A GVBufferCondition l...") |
(→{{VULCON}} / {{GVCONSOLE}} Configuration) |
||
Line 18: | Line 18: | ||
|- | |- | ||
| throw-exception || optional || If true an error during execution cause an Exception to be thrown. | | 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". | + | If false an error during execution cause the condition to return "false". Default to "false". <br/> |
The attribute's admitted values are: | The attribute's admitted values are: | ||
* true | * true | ||
Line 32: | Line 32: | ||
* [[RetCodeField]] | * [[RetCodeField]] | ||
* [[Property]] or [[PropertyCompare]] | * [[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: | ||
+ | {|class="gvtable" | ||
+ | ! 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: | ||
+ | {|class="gvtable" | ||
+ | ! 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'. | ||
+ | |} |
Revision as of 22:32, 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'. |