Package | Description |
---|---|
org.opends.guitools.uninstaller |
Defines the main classes that are you used by the uninstall and uninstall-gui
command lines.
|
org.opends.quicksetup |
Defines the main classes that are you used by both the QuickSetup utilities:
the installer.
|
org.opends.quicksetup.installer |
Defines the classes that are you used by the installer.
|
org.opends.quicksetup.installer.offline |
Defines the specific classes for the offline installer (the one that can be
launched after unzipping the OpenDS zip file).
|
org.opends.quicksetup.util |
Defines the different auxiliary classes that can be used by the different
applications (installer).
|
Modifier and Type | Method and Description |
---|---|
ApplicationException |
Uninstaller.getRunError()
Returns the ApplicationException that might occur during installation or
null if no exception occurred. |
Modifier and Type | Method and Description |
---|---|
UserData |
Uninstaller.createUserData(Launcher launcher)
Creates a set of user data from command line arguments and installation
status.
|
protected void |
Uninstaller.disableWindowsService()
This methods disables this server as a Windows service.
|
Modifier and Type | Method and Description |
---|---|
static ApplicationException |
ApplicationException.createFileSystemException(LocalizableMessage msg,
Exception e)
Creates a new ApplicationException of type FILE_SYSTEM_ERROR.
|
ApplicationException |
CliApplication.getRunError()
Gets any exception that happened while this application was running.
|
Modifier and Type | Method and Description |
---|---|
void |
Application.checkAbort()
Checks whether the operation has been aborted.
|
static BuildInformation |
BuildInformation.create(Installation installation)
Reads build information for a particular installation by reading the
output from invoking the start-ds tool with the full information option.
|
UserData |
CliApplication.createUserData(Launcher launcher)
Creates a set of user data from command line arguments and installation
status.
|
Configuration |
Installation.getBaseConfiguration()
Gets the Configuration object representing this file.
|
File |
Installation.getBaseConfigurationFile()
Creates a File object representing config/upgrade/schema.ldif.current which
the server creates the first time it starts if there are schema
customizations.
|
File |
Installation.getBaseSchemaFile()
Creates a File object representing config/upgrade/schema.ldif.current which
the server creates the first time it starts if there are schema
customizations.
|
BuildInformation |
Installation.getBuildInformation()
Gets information about the build that was used to produce the bits for this
installation.
|
BuildInformation |
Installation.getBuildInformation(boolean useCachedVersion)
Gets information about the build that was used to produce the bits for this
installation.
|
static BuildInformation |
BuildInformation.getCurrent()
Creates an instance from constants present in the current build.
|
String |
Installation.getInstanceVCSRevision()
Gets the VCS revision of the instance.
|
protected InitialLdapContext |
Application.getRemoteConnection(ServerDescriptor server,
String dn,
String pwd,
ApplicationTrustManager trustManager,
int timeout,
Set<PreferredConnection> cnx)
Gets an InitialLdapContext based on the information that appears on the
provided ServerDescriptor object.
|
String |
Installation.getVCSRevision()
Gets the VCS revision of the build.
|
Modifier and Type | Method and Description |
---|---|
void |
Installer.checkAbort()
Checks the value of
canceled field and throws an
ApplicationException if true. |
protected void |
Installer.configureReplication()
This method creates the replication configuration for the suffixes on the
the local server (and eventually in the remote servers) to synchronize
things.
|
org.opends.quicksetup.installer.ConfiguredReplication |
InstallerHelper.configureReplication(InitialLdapContext remoteCtx,
Map<String,Set<String>> replicationServers,
int replicationPort,
boolean useSecureReplication,
String serverDisplay,
Set<Integer> usedReplicationServerIds,
Set<Integer> usedServerIds)
Configures the replication on a given server.
|
protected void |
Installer.configureServer()
This methods configures the server based on the contents of the UserData
object provided in the constructor.
|
void |
InstallerHelper.createBackend(DirContext ctx,
String backendName,
Set<String> baseDNs,
String serverDisplay,
ManagedObjectDefinition<? extends BackendCfgClient,? extends BackendCfg> backendType)
Creates a database backend on the server.
|
File |
InstallerHelper.createBaseEntryTempFile(String baseDn)
Creates a template LDIF file with an entry that has as dn the provided
baseDn.
|
protected void |
Installer.createData()
This methods updates the data on the server based on the contents of the
UserData object provided in the constructor.
|
protected void |
Installer.createReplicatedBackendsIfRequired()
This method configures the backends and suffixes that must be replicated.
|
void |
InstallerHelper.deleteBackend(InitialLdapContext ctx,
String backendName,
String serverDisplay)
Deletes a backend on the server.
|
void |
InstallerHelper.deleteBackend(String backendName)
Deletes a backend on the server.
|
void |
InstallerHelper.disableWindowsService()
This method disables this server as a Windows service.
|
void |
InstallerHelper.enableWindowsService()
This methods enables this server as a Windows service.
|
protected void |
Installer.enableWindowsService()
This methods enables this server as a Windows service.
|
void |
Installer.initializeSuffix(InitialLdapContext ctx,
int replicaId,
String suffixDn,
boolean displayProgress,
String sourceServerDisplay)
Initializes a suffix with the contents of a replica that has a given
replication id.
|
protected void |
Installer.initializeSuffixes()
This method initialize the contents of the synchronized servers with the
contents of the first server we find.
|
int |
InstallerHelper.invokeConfigureServer(String[] args)
Invokes the method ConfigureDS.configMain with the provided parameters.
|
void |
InstallerHelper.setBaseDns(InitialLdapContext ctx,
String backendName,
Set<String> baseDNs,
String serverDisplay)
Sets the base DNs on a given backend.
|
void |
InstallerHelper.unconfigureReplication(InitialLdapContext remoteCtx,
org.opends.quicksetup.installer.ConfiguredReplication replConf,
String serverDisplay)
Configures the replication on a given server.
|
protected void |
Installer.updateADS()
This method updates the ADS contents (and creates the according suffixes).
|
Modifier and Type | Method and Description |
---|---|
ApplicationException |
OfflineInstaller.getRunError()
Returns the exception from the run() method, if any.
|
Modifier and Type | Method and Description |
---|---|
File |
FileManager.copy(File objectFile,
File destDir)
Copies everything below the specified file.
|
File |
FileManager.copy(File objectFile,
File destDir,
boolean overwrite)
Copies everything below the specified file.
|
void |
FileManager.copyRecursively(File objectFile,
File destDir)
Copies everything below the specified file.
|
void |
FileManager.copyRecursively(File objectFile,
File destDir,
FileFilter filter)
Copies everything below the specified file.
|
void |
FileManager.copyRecursively(File objectFile,
File destDir,
FileFilter filter,
boolean overwrite)
Copies everything below the specified file.
|
void |
FileManager.delete(File object)
Deletes a single file or directory.
|
void |
FileManager.delete(File object,
FileFilter filter)
Deletes a single file or directory.
|
void |
FileManager.deleteChildren(File parentDir)
Deletes the children of a directory.
|
void |
FileManager.deleteRecursively(File file)
Deletes everything below the specified file.
|
void |
FileManager.deleteRecursively(File file,
FileFilter filter,
FileManager.DeletionPolicy deletePolicy)
Deletes everything below the specified file.
|
void |
ZipExtractor.extract(File destination)
Performs the zip extraction.
|
void |
ZipExtractor.extract(String destination)
Performs the zip extraction.
|
void |
ZipExtractor.extract(String destDir,
boolean removeFirstPath)
Performs the zip extraction.
|
void |
FileManager.move(File object,
File newParent)
Move a file.
|
void |
FileManager.move(File object,
File newParent,
FileFilter filter)
Move a file.
|
void |
FileManager.rename(File fileToRename,
File target)
Renames the source file to the target file.
|
void |
ServerController.startServer()
This methods starts the server.
|
void |
ServerController.startServer(boolean suppressOutput)
This methods starts the server.
|
void |
ServerController.stopServer()
This methods stops the server.
|
void |
ServerController.stopServer(boolean suppressOutput)
This methods stops the server.
|
void |
ServerController.stopServer(boolean suppressOutput,
boolean noPropertiesFile)
This methods stops the server.
|
void |
FileManager.synchronize(File source,
File target)
Recursively copies any files or directories appearing in
source or a subdirectory of source
to the corresponding directory under target . |
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.