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(File installationDirectory)
Creates a new instance of InstallationLayout.
|
InstallationLayout(String installationDirectoryPath)
Creates a new instance of InstallationLayout.
|
Modifier and Type | Method and Description |
---|---|
File |
getBinDirectory()
Gets the 'bin' directory in the installation directory.
|
File |
getConfDirectory()
Gets the 'conf' directory in the installation directory.
|
File |
getInstallationDirectory()
Gets the installation directory.
|
File |
getLibDirectory()
Gets the 'lib' directory in the installation directory.
|
File |
getLicenseFile()
Gets the LICENSE file ('/LICENSE').
|
File |
getNoticeFile()
Gets the NOTICE file ('/NOTICE').
|
File |
getScriptFile()
Gets the script file ('/bin/apacheds').
|
File |
getWrapperConfigurationFile()
Gets the wrapper configuration file ('/conf/wrapper.conf').
|
File |
getWrapperFile()
Gets the wrapper file ('/bin/wrapper').
|
String |
toString() |
getDirectory, getRequiredDirectories, getRequiredFiles, mkdirs, setRequiredDirectories, setRequiredFiles, verifyInstallation
public InstallationLayout(File installationDirectory)
installationDirectory
- the installation directorypublic InstallationLayout(String installationDirectoryPath)
installationDirectoryPath
- the path to the installation directorypublic File getBinDirectory()
public File getConfDirectory()
public File getInstallationDirectory()
public File getLibDirectory()
public File getLicenseFile()
public File getNoticeFile()
public File getScriptFile()
public File getWrapperConfigurationFile()
public File getWrapperFile()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2019. All rights reserved.