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.LdapException
setException(LdapException exception)
Set the exception that occurred during the import/export.LdapException
setExceptionIfNoneSet(LdapException e)
Only sets the exception that occurred during the import/export if none was already set on this object.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 LdapException setException(LdapException exception)
Set the exception that occurred during the import/export.- Parameters:
exception
- the exception that occurred during the import/export.- Returns:
- the provided exception
-
setExceptionIfNoneSet
public LdapException 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.- Returns:
- the provided exception
-
-