public class InstallationLayout extends AbstractLayout
apacheds-<version>/ : installation directory | +-- bin : binDirectory | | | +-- apacheds* : scriptFile | | | +-- wrapper* : wrapperFile | +-- conf/ : confDirectory | | | +-- wrapper.conf : wrapperConfFile | +-- lib/ : LibDirectory | +-- LICENSE | +-- NOTICE
| Constructor and Description |
|---|
InstallationLayout(java.io.File installationDirectory)
Creates a new instance of InstallationLayout.
|
InstallationLayout(java.lang.String installationDirectoryPath)
Creates a new instance of InstallationLayout.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getBinDirectory()
Gets the 'bin' directory in the installation directory.
|
java.io.File |
getConfDirectory()
Gets the 'conf' directory in the installation directory.
|
java.io.File |
getInstallationDirectory()
Gets the installation directory.
|
java.io.File |
getLibDirectory()
Gets the 'lib' directory in the installation directory.
|
java.io.File |
getLicenseFile()
Gets the LICENSE file ('/LICENSE').
|
java.io.File |
getNoticeFile()
Gets the NOTICE file ('/NOTICE').
|
java.io.File |
getScriptFile()
Gets the script file ('/bin/apacheds').
|
java.io.File |
getWrapperConfigurationFile()
Gets the wrapper configuration file ('/conf/wrapper.conf').
|
java.io.File |
getWrapperFile()
Gets the wrapper file ('/bin/wrapper').
|
private void |
init()
Initializes the InstallationLayout.
|
java.lang.String |
toString() |
getDirectory, getRequiredDirectories, getRequiredFiles, mkdirs, setRequiredDirectories, setRequiredFiles, verifyInstallationpublic InstallationLayout(java.io.File installationDirectory)
installationDirectory - the installation directorypublic InstallationLayout(java.lang.String installationDirectoryPath)
installationDirectoryPath - the path to the installation directoryprivate void init()
public java.io.File getBinDirectory()
public java.io.File getConfDirectory()
public java.io.File getInstallationDirectory()
public java.io.File getLibDirectory()
public java.io.File getLicenseFile()
public java.io.File getNoticeFile()
public java.io.File getScriptFile()
public java.io.File getWrapperConfigurationFile()
public java.io.File getWrapperFile()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()