public class UninstallUserData extends UserData
IMPORT_SCRIPT_NAME, SERVER_SCRIPT_NAME| Constructor and Description |
|---|
UninstallUserData() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAdminPwd()
Returns the administrator password provided by the user.
|
String |
getAdminUID()
Returns the administrator UID provided by the user.
|
Set<String> |
getExternalDbsToRemove()
Returns the list of databases located outside the installation that must
be removed.
|
Set<String> |
getExternalLogsToRemove()
Returns the list of log files located outside the installation that must
be removed.
|
String |
getLocalServerUrl()
Returns the LDAP URL that we used to connect to the local server.
|
String |
getReferencedHostName()
Returns the server host name as referenced in other servers.
|
Set<ServerDescriptor> |
getRemoteServers()
Returns a Set containing the ServerDescriptors discovered in the
TopologyCache.
|
boolean |
getRemoveBackups()
Returns whether the user wants to remove backups or not.
|
boolean |
getRemoveConfigurationAndSchema()
Returns whether the user wants to remove configuration and schema files or
not.
|
boolean |
getRemoveDatabases()
Returns whether the user wants to remove databases or not.
|
boolean |
getRemoveLDIFs()
Returns whether the user wants to remove LDIF files or not.
|
boolean |
getRemoveLibrariesAndTools()
Returns whether the user wants to remove libraries and tools or not.
|
boolean |
getRemoveLogs()
Returns whether the user wants to remove logs or not.
|
String |
getReplicationServer()
Returns the replication server as referenced in other servers.
|
ApplicationTrustManager |
getTrustManager()
Returns the trust manager that can be used to establish secure connections.
|
boolean |
getUpdateRemoteReplication()
Returns whether the user wants to update remote replication configuration
or not.
|
void |
setAdminPwd(String adminPwd)
Sets the administrator password provided by the user.
|
void |
setAdminUID(String adminUID)
Sets the administrator UID provided by the user.
|
void |
setExternalDbsToRemove(Set<String> dbPaths)
Sets the database directories located outside the installation which must
be removed.
|
void |
setExternalLogsToRemove(Set<String> logFiles)
Sets the log files located outside the installation which must
be removed.
|
void |
setLocalServerUrl(String localServerUrl)
Sets the LDAP URL that we used to connect to the local server.
|
void |
setReferencedHostName(String referencedHostName)
Sets the server host name as referenced in other servers.
|
void |
setRemoteServers(Set<ServerDescriptor> remoteServers)
Sets the ServerDescriptors discovered in the TopologyCache.
|
void |
setRemoveBackups(boolean removeBackups)
Sets whether to remove backups or not.
|
void |
setRemoveConfigurationAndSchema(boolean removeConfigurationAndSchema)
Sets whether to remove configuration and schema files or not.
|
void |
setRemoveDatabases(boolean removeDatabases)
Sets whether to remove databases or not.
|
void |
setRemoveLDIFs(boolean removeLDIFs)
Sets whether to remove LDIF files or not.
|
void |
setRemoveLibrariesAndTools(boolean removeLibrariesAndTools)
Sets whether to remove libraries and tools or not.
|
void |
setRemoveLogs(boolean removeLogs)
Sets whether to remove log files or not.
|
void |
setReplicationServer(String replicationServer)
Sets the replication server as referenced in other servers.
|
void |
setTrustManager(ApplicationTrustManager trustManager)
Sets the trust manager that can be used to establish secure connections.
|
void |
setUpdateRemoteReplication(boolean updateRemoteReplication)
Sets whether to update remote replication configuration or not.
|
createAdministrator, getAdminConnectorPort, getBackendType, getConnectTimeout, getDefaultAdminConnectorPort, getDefaultHostName, getDefaultJavaArguments, getDefaultJMXPort, getDefaultPort, getDefaultSslPort, getDirectoryManagerDn, getDirectoryManagerPwd, getEnableWindowsService, getGlobalAdministratorPassword, getGlobalAdministratorUID, getHostName, getJavaArguments, getNewSuffixOptions, getRemoteWithNoReplicationPort, getReplicationOptions, getScriptNamesForJavaArguments, getSecurityOptions, getServerJMXPort, getServerLocation, getServerPort, getStartServer, getStopServer, getSuffixesToReplicateOptions, isForceOnError, isInteractive, isQuiet, isVerbose, mustCreateAdministrator, setAdminConnectorPort, setBackendType, setConnectTimeout, setDirectoryManagerDn, setDirectoryManagerPwd, setEnableWindowsService, setForceOnError, setGlobalAdministratorPassword, setGlobalAdministratorUID, setHostName, setJavaArguments, setNewSuffixOptions, setQuiet, setRemoteWithNoReplicationPort, setReplicationOptions, setSecurityOptions, setServerJMXPort, setServerLocation, setServerPort, setStartServer, setStopServer, setSuffixesToReplicateOptions, setVerbosepublic UninstallUserData()
public void setExternalDbsToRemove(Set<String> dbPaths)
dbPaths - the directories of the database files.public Set<String> getExternalDbsToRemove()
public void setExternalLogsToRemove(Set<String> logFiles)
logFiles - the log files.public Set<String> getExternalLogsToRemove()
public boolean getRemoveLibrariesAndTools()
true if the user wants to remove the libraries and
tools and false otherwise.public void setRemoveLibrariesAndTools(boolean removeLibrariesAndTools)
removeLibrariesAndTools - remove libraries and tools or not.public void setRemoveDatabases(boolean removeDatabases)
removeDatabases - remove databases or not.public boolean getRemoveDatabases()
true if the user wants to remove the databases and
false otherwise.public void setRemoveBackups(boolean removeBackups)
removeBackups - remove backups or not.public boolean getRemoveBackups()
true if the user wants to remove the backups and
false otherwise.public void setRemoveLogs(boolean removeLogs)
removeLogs - remove log files or not.public boolean getRemoveLogs()
true if the user wants to remove the log files and
false otherwise.public void setRemoveLDIFs(boolean removeLDIFs)
removeLDIFs - remove LDIF files or not.public boolean getRemoveLDIFs()
true if the user wants to remove the LDIF files and
false otherwise.public void setRemoveConfigurationAndSchema(boolean removeConfigurationAndSchema)
removeConfigurationAndSchema - remove configuration and schema files
or not.public boolean getRemoveConfigurationAndSchema()
true if the user wants to remove the configuration
and schema files and false otherwise.public void setUpdateRemoteReplication(boolean updateRemoteReplication)
updateRemoteReplication - update remote replication configuration
or not.public boolean getUpdateRemoteReplication()
true if the user wants to update remote replication
configuration and false otherwise.public ApplicationTrustManager getTrustManager()
public void setTrustManager(ApplicationTrustManager trustManager)
trustManager - the trust manager that can be used to establish secure
connections.public String getAdminPwd()
public void setAdminPwd(String adminPwd)
adminPwd - the administrator password provided by the user.public String getAdminUID()
public void setAdminUID(String adminUID)
adminUID - the administrator UID provided by the user.public String getReplicationServer()
public void setReplicationServer(String replicationServer)
replicationServer - the replication server as referenced in other
servers.public String getReferencedHostName()
public void setReferencedHostName(String referencedHostName)
referencedHostName - server host name as referenced in other
servers.public String getLocalServerUrl()
public void setLocalServerUrl(String localServerUrl)
localServerUrl - the LDAP URL that we used to connect to the local
server.public Set<ServerDescriptor> getRemoteServers()
public void setRemoteServers(Set<ServerDescriptor> remoteServers)
remoteServers - the Set containing the ServerDescriptors discovered in
the TopologyCache.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.