ConfigurationRule
- class ConfigurationRule
-
- property name
The name of the rule.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property expression
The expression of the rule.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property enabled
The enable state of the rule.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- list_targets()
List all the
ConfigurationTarget
.- Returns
The list of
ConfigurationTarget
in this rule.- Return type
- create_target(layer_id)
Create a new
ConfigurationTarget
in this rule.- Parameters
layer_id (str) -- Id of the layer targeted.
- Returns
The newly created
ConfigurationTarget
.- Return type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- remove()
Delete this rule.
- Raises
ReadOnlyError -- If
Database
is in read only mode.