public class SchemaLdifToPartitionExtractor extends Object implements org.apache.directory.api.ldap.schema.extractor.SchemaLdifExtractor
Constructor and Description |
---|
SchemaLdifToPartitionExtractor(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
Partition partition)
Creates an extractor which adds schema LDIF entries directly to the schema partition.
|
Modifier and Type | Method and Description |
---|---|
void |
extractOrCopy() |
void |
extractOrCopy(boolean overwrite) |
boolean |
isExtracted()
Gets whether or not the schema has already been added to the schema partition.
|
public SchemaLdifToPartitionExtractor(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager, Partition partition) throws org.apache.directory.api.ldap.model.exception.LdapException
schemaManager
- the bootstrap schema managerpartition
- the destination partitionorg.apache.directory.api.ldap.model.exception.LdapException
- If the instance can't be createdpublic boolean isExtracted()
isExtracted
in interface org.apache.directory.api.ldap.schema.extractor.SchemaLdifExtractor
public void extractOrCopy(boolean overwrite) throws IOException
extractOrCopy
in interface org.apache.directory.api.ldap.schema.extractor.SchemaLdifExtractor
IOException
public void extractOrCopy() throws IOException
extractOrCopy
in interface org.apache.directory.api.ldap.schema.extractor.SchemaLdifExtractor
IOException
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.