public final class MatchingRuleHelper extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addToRegistries(MutableMatchingRule matchingRule,
List<Throwable> errors,
Registries registries)
Inject the MatchingRule into the Registries, updating the references to
other SchemaObject
|
static void |
removeFromRegistries(MatchingRule matchingRule,
List<Throwable> errors,
Registries registries)
Remove the MatchingRule from the Registries, updating the references to
other SchemaObject.
|
public static void addToRegistries(MutableMatchingRule matchingRule, List<Throwable> errors, Registries registries) throws LdapException
matchingRule
- The MatchingRule to add to the Registrieserrors
- The errors we got while adding the MatchingRule to the registriesregistries
- The RegistriesLdapException
- If the addition failedpublic static void removeFromRegistries(MatchingRule matchingRule, List<Throwable> errors, Registries registries) throws LdapException
matchingRule
- The MatchingRule to remove from the Registrieserrors
- The errors we got while removing the MatchingRule from the registriesregistries
- The RegistriesLdapException
- If the MatchingRule is not validCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.