Class ReplicationDomain.ImportExportContext
- java.lang.Object
-
- org.opends.server.replication.service.ReplicationDomain.ImportExportContext
-
- Enclosing class:
- ReplicationDomain
protected static final class ReplicationDomain.ImportExportContext extends Object
This class contains the context related to an import or export launched on the domain.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LdapException
getException()
Get the exception that occurred during the import/export.ReplicaId
getImportSource()
Gets the server id of the importing server.void
setException(LdapException e)
Set the exception that occurred during the import/export.void
setExceptionIfNoneSet(LdapException e)
Only sets the exception that occurred during the import/export if none was already set on this object.void
setImportConfig(LDIFImportConfig config)
Sets the import configuration when the server is importing this domain.String
toString()
-
-
-
Method Detail
-
getImportSource
public ReplicaId getImportSource()
Gets the server id of the importing server.- Returns:
- the server id of the importing server.
-
getException
public LdapException getException()
Get the exception that occurred during the import/export.- Returns:
- the exception that occurred during the import/export.
-
setException
public void setException(LdapException e)
Set the exception that occurred during the import/export.- Parameters:
e
- the exception that occurred during the import/export.
-
setExceptionIfNoneSet
public void setExceptionIfNoneSet(LdapException e)
Only sets the exception that occurred during the import/export if none was already set on this object.- Parameters:
e
- the exception that occurred during the import/export.
-
setImportConfig
public void setImportConfig(LDIFImportConfig config)
Sets the import configuration when the server is importing this domain.- Parameters:
config
- the import configuration
-
-