public static class ActionPolicyBuilder.QuorumRule extends Object
Constructor and Description |
---|
QuorumRule(String sRuleElementName, int nRuleMask, int nThreshold, XmlElement xmlElement)
Constructs
ActionPolicyBuilder.QuorumRule |
Modifier and Type | Method and Description |
---|---|
void |
validate()
Throw ConfigurationException if this
m_xmlElement configuration violates constraints. |
public QuorumRule(String sRuleElementName, int nRuleMask, int nThreshold, XmlElement xmlElement)
ActionPolicyBuilder.QuorumRule
sRuleElementName
- to report configuration exception contextnRuleMask
- rule masknThreshold
- thresholdxmlElement
- optional to report configuration exception contextpublic void validate() throws ConfigurationException
m_xmlElement
configuration violates constraints.ConfigurationException
- describing invalid configuration.