Class UninstallUserData


  • public class UninstallUserData
    extends UserData
    UserData with specific properties for Uninstall.
    • Constructor Detail

      • UninstallUserData

        public UninstallUserData()
    • Method Detail

      • setExternalDbsToRemove

        public void setExternalDbsToRemove​(Set<String> dbPaths)
        Sets the database directories located outside the installation which must be removed.
        Parameters:
        dbPaths - the directories of the database files.
      • getExternalDbsToRemove

        public Set<String> getExternalDbsToRemove()
        Returns the list of databases located outside the installation that must be removed.
        Returns:
        the list of databases located outside the installation that must be removed.
      • setExternalLogsToRemove

        public void setExternalLogsToRemove​(Set<String> logFiles)
        Sets the log files located outside the installation which must be removed.
        Parameters:
        logFiles - the log files.
      • getExternalLogsToRemove

        public Set<String> getExternalLogsToRemove()
        Returns the list of log files located outside the installation that must be removed.
        Returns:
        the list of log files located outside the installation that must be removed.
      • getRemoveLibrariesAndTools

        public boolean getRemoveLibrariesAndTools()
        Returns whether the user wants to remove libraries and tools or not.
        Returns:
        true if the user wants to remove the libraries and tools and false otherwise.
      • setRemoveLibrariesAndTools

        public void setRemoveLibrariesAndTools​(boolean removeLibrariesAndTools)
        Sets whether to remove libraries and tools or not.
        Parameters:
        removeLibrariesAndTools - remove libraries and tools or not.
      • setRemoveDatabases

        public void setRemoveDatabases​(boolean removeDatabases)
        Sets whether to remove databases or not.
        Parameters:
        removeDatabases - remove databases or not.
      • getRemoveDatabases

        public boolean getRemoveDatabases()
        Returns whether the user wants to remove databases or not.
        Returns:
        true if the user wants to remove the databases and false otherwise.
      • setRemoveBackups

        public void setRemoveBackups​(boolean removeBackups)
        Sets whether to remove backups or not.
        Parameters:
        removeBackups - remove backups or not.
      • getRemoveBackups

        public boolean getRemoveBackups()
        Returns whether the user wants to remove backups or not.
        Returns:
        true if the user wants to remove the backups and false otherwise.
      • setRemoveLogs

        public void setRemoveLogs​(boolean removeLogs)
        Sets whether to remove log files or not.
        Parameters:
        removeLogs - remove log files or not.
      • getRemoveLogs

        public boolean getRemoveLogs()
        Returns whether the user wants to remove logs or not.
        Returns:
        true if the user wants to remove the log files and false otherwise.
      • setRemoveLDIFs

        public void setRemoveLDIFs​(boolean removeLDIFs)
        Sets whether to remove LDIF files or not.
        Parameters:
        removeLDIFs - remove LDIF files or not.
      • getRemoveLDIFs

        public boolean getRemoveLDIFs()
        Returns whether the user wants to remove LDIF files or not.
        Returns:
        true if the user wants to remove the LDIF files and false otherwise.
      • setRemoveConfigurationAndSchema

        public void setRemoveConfigurationAndSchema​(boolean removeConfigurationAndSchema)
        Sets whether to remove configuration and schema files or not.
        Parameters:
        removeConfigurationAndSchema - remove configuration and schema files or not.
      • getRemoveConfigurationAndSchema

        public boolean getRemoveConfigurationAndSchema()
        Returns whether the user wants to remove configuration and schema files or not.
        Returns:
        true if the user wants to remove the configuration and schema files and false otherwise.
      • setUpdateRemoteReplication

        public void setUpdateRemoteReplication​(boolean updateRemoteReplication)
        Sets whether to update remote replication configuration or not.
        Parameters:
        updateRemoteReplication - update remote replication configuration or not.
      • getUpdateRemoteReplication

        public boolean getUpdateRemoteReplication()
        Returns whether the user wants to update remote replication configuration or not.
        Returns:
        true if the user wants to update remote replication configuration and false otherwise.
      • getTrustManager

        public ApplicationTrustManager getTrustManager()
        Returns the trust manager that can be used to establish secure connections.
        Returns:
        the trust manager that can be used to establish secure connections.
      • setTrustManager

        public void setTrustManager​(ApplicationTrustManager trustManager)
        Sets the trust manager that can be used to establish secure connections.
        Parameters:
        trustManager - the trust manager that can be used to establish secure connections.
      • getAdminPwd

        public String getAdminPwd()
        Returns the administrator password provided by the user.
        Returns:
        the administrator password provided by the user.
      • setAdminPwd

        public void setAdminPwd​(String adminPwd)
        Sets the administrator password provided by the user.
        Parameters:
        adminPwd - the administrator password provided by the user.
      • getAdminUID

        public String getAdminUID()
        Returns the administrator UID provided by the user.
        Returns:
        the administrator UID provided by the user.
      • setAdminUID

        public void setAdminUID​(String adminUID)
        Sets the administrator UID provided by the user.
        Parameters:
        adminUID - the administrator UID provided by the user.
      • getReplicationServer

        public HostPort getReplicationServer()
        Returns the replication server as referenced in other servers.
        Returns:
        the replication server as referenced in other servers.
      • setReplicationServer

        public void setReplicationServer​(HostPort replicationServer)
        Sets the replication server as referenced in other servers.
        Parameters:
        replicationServer - the replication server as referenced in other servers.
      • getReferencedHostName

        public String getReferencedHostName()
        Returns the server host name as referenced in other servers.
        Returns:
        the server host name as referenced in other servers.
      • setReferencedHostName

        public void setReferencedHostName​(String referencedHostName)
        Sets the server host name as referenced in other servers.
        Parameters:
        referencedHostName - server host name as referenced in other servers.
      • getLocalServerHostPort

        public HostPort getLocalServerHostPort()
        Returns the LDAP HostPort that we used to connect to the local server.
        Returns:
        the LDAP HostPort that we used to connect to the local server.
      • isLocalServerSecure

        public boolean isLocalServerSecure()
        Returns whether the LDAP connection to the local server uses LDAPS.
        Returns:
        whether the LDAP connection to the local server uses LDAPS
      • setLocalServer

        public void setLocalServer​(HostPort hostPort,
                                   boolean isSecure)
        Sets the LDAP HostPort that we used to connect to the local server.
        Parameters:
        hostPort - the LDAP HostPort that we used to connect to the local server.
        isSecure - whether the local server uses a secure connection
      • getRemoteServers

        public Set<ServerDescriptor> getRemoteServers()
        Returns a Set containing the ServerDescriptors discovered in the TopologyCache.
        Returns:
        a Set containing the ServerDescriptors discovered in the TopologyCache.
      • setRemoteServers

        public void setRemoteServers​(Set<ServerDescriptor> remoteServers)
        Sets the ServerDescriptors discovered in the TopologyCache.
        Parameters:
        remoteServers - the Set containing the ServerDescriptors discovered in the TopologyCache.