org.apache.directory.server
Class InstallationLayout

java.lang.Object
  extended by org.apache.directory.server.core.api.AbstractLayout
      extended by org.apache.directory.server.InstallationLayout

public class InstallationLayout
extends org.apache.directory.server.core.api.AbstractLayout

Convenience class to encapsulate paths to various directories and files within an installation.

Author:
Apache Directory Project

Constructor Summary
InstallationLayout(File installationDirectory)
          Creates a new instance of InstallationLayout.
InstallationLayout(String installationDirectoryPath)
          Creates a new instance of InstallationLayout.
 
Method Summary
 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').
 
Methods inherited from class org.apache.directory.server.core.api.AbstractLayout
getDirectory, getRequiredDirectories, getRequiredFiles, mkdirs, setRequiredDirectories, setRequiredFiles, verifyInstallation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstallationLayout

public InstallationLayout(File installationDirectory)
Creates a new instance of InstallationLayout.

Parameters:
installationDirectory - the installation directory

InstallationLayout

public InstallationLayout(String installationDirectoryPath)
Creates a new instance of InstallationLayout.

Parameters:
installationDirectoryPath - the path to the installation directory
Method Detail

getBinDirectory

public File getBinDirectory()
Gets the 'bin' directory in the installation directory.

Returns:
the 'bin' directory

getConfDirectory

public File getConfDirectory()
Gets the 'conf' directory in the installation directory.

Returns:
the 'conf' directory

getInstallationDirectory

public File getInstallationDirectory()
Gets the installation directory.

Returns:
the installation directory

getLibDirectory

public File getLibDirectory()
Gets the 'lib' directory in the installation directory.

Returns:
the 'lib' directory

getLicenseFile

public File getLicenseFile()
Gets the LICENSE file ('/LICENSE').

Returns:
the LICENSE file

getNoticeFile

public File getNoticeFile()
Gets the NOTICE file ('/NOTICE').

Returns:
the NOTICE file

getScriptFile

public File getScriptFile()
Gets the script file ('/bin/apacheds').

Returns:
the script file

getWrapperConfigurationFile

public File getWrapperConfigurationFile()
Gets the wrapper configuration file ('/conf/wrapper.conf').

Returns:
the wrapper configuration file

getWrapperFile

public File getWrapperFile()
Gets the wrapper file ('/bin/wrapper').

Returns:
the wrapper file


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.