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 RegistriesIf - the addition failedLdapExceptionpublic 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 RegistriesIf - the MatchingRule is not validLdapExceptionCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.