public class SchemaLdifToPartitionExtractor extends Object implements org.apache.directory.api.ldap.schemaextractor.SchemaLdifExtractor
| Constructor and Description |
|---|
SchemaLdifToPartitionExtractor(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.server.core.api.partition.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,
org.apache.directory.server.core.api.partition.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.LdapExceptionpublic boolean isExtracted()
isExtracted in interface org.apache.directory.api.ldap.schemaextractor.SchemaLdifExtractorpublic void extractOrCopy(boolean overwrite)
throws IOException
extractOrCopy in interface org.apache.directory.api.ldap.schemaextractor.SchemaLdifExtractorIOExceptionpublic void extractOrCopy()
throws IOException
extractOrCopy in interface org.apache.directory.api.ldap.schemaextractor.SchemaLdifExtractorIOExceptionCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.