public class ValidationRuleConfiguration extends Object
| Constructor and Description |
|---|
ValidationRuleConfiguration(Element element)
Creates a
ValidationRuleConfiguration and initializes it with the data provided by
the given element. |
ValidationRuleConfiguration(String name,
boolean active)
Creates a
ValidationRuleConfiguration with the given name and activation state. |
| Modifier and Type | Method and Description |
|---|---|
String |
getRuleName() |
boolean |
isActive()
Flag indicating whether the validation rule is configured as active.
|
public ValidationRuleConfiguration(String name, boolean active)
ValidationRuleConfiguration with the given name and activation state.name - the name of the configured rule.active - a flag indicating whether this rule is configured as active or not.public ValidationRuleConfiguration(Element element)
ValidationRuleConfiguration and initializes it with the data provided by
the given element.element - the XML element containing the new validation rule configuration's statepublic String getRuleName()
public boolean isActive()
true if the validation rule is configured as active, false
otherwise.Copyright © 2021. All rights reserved.