Class 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 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