org.browsecode.helpers.installer.applications
Class InstallApacheTomcat

java.lang.Object
  extended by org.browsecode.helpers.installer.applications.ApplicationToInstallStub
      extended by org.browsecode.helpers.installer.applications.InstallApacheTomcat
All Implemented Interfaces:
ApplicationToInstall

public class InstallApacheTomcat
extends ApplicationToInstallStub


Nested Class Summary
 
Nested classes/interfaces inherited from class org.browsecode.helpers.installer.applications.ApplicationToInstallStub
ApplicationToInstallStub.SimpleSearcherStub
 
Nested classes/interfaces inherited from interface org.browsecode.helpers.installer.applications.ApplicationToInstall
ApplicationToInstall.ExeInstaller, ApplicationToInstall.Installer, ApplicationToInstall.MacInstaller, ApplicationToInstall.MsiInstaller, ApplicationToInstall.Searcher, ApplicationToInstall.TarGzipInstaller, ApplicationToInstall.ZipInstaller
 
Field Summary
 
Fields inherited from class org.browsecode.helpers.installer.applications.ApplicationToInstallStub
description, installedInDirectory, installerFiles, installerWebsites, name
 
Fields inherited from interface org.browsecode.helpers.installer.applications.ApplicationToInstall
INSTALLED_BUT_DIRECTORY_UNKNOWN
 
Constructor Summary
InstallApacheTomcat()
           
 
Method Summary
 java.lang.String[] getInstalledFileName(int operatingSystem)
          A path and file that is installed when this program has been installed.
 java.lang.String getInstallerDirections(ControlComputerInterface machineToInstallOn)
          Directions for installing the application by hand.
 void setInstallers(java.net.URL[] installerFile)
          Set these in order of preference -- i.e. executables first, zip files (assumed to be platform independent) last.
 void setInstallersPath(java.lang.String installersPath)
           
 
Methods inherited from class org.browsecode.helpers.installer.applications.ApplicationToInstallStub
addedToApplicationSet, getAskToFindPreviousInstalls, getDescription, getInstalledFileMatches, getInstalledInDirectory, getInstaller, getInstallers, getInstallerURL, getName, getSearcher, getTryToFindPreviousInstalls, setAskUserIfInstalledBefore, setDescription, setInstalledInDirectory, setInstallerURL, setName, setTryToFindPreviousInstalls
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstallApacheTomcat

public InstallApacheTomcat()
Method Detail

setInstallers

public void setInstallers(java.net.URL[] installerFile)
Description copied from class: ApplicationToInstallStub
Set these in order of preference -- i.e. executables first, zip files (assumed to be platform independent) last.

Overrides:
setInstallers in class ApplicationToInstallStub

setInstallersPath

public void setInstallersPath(java.lang.String installersPath)

getInstalledFileName

public java.lang.String[] getInstalledFileName(int operatingSystem)
Description copied from class: ApplicationToInstallStub
A path and file that is installed when this program has been installed. Return any possibilites that indicate that this program is installed. You may use RegExp. Some examples: Apache Tomcat would return ".*jakarta.* /webapps/" (note that space is put in because java docs won't let you put in a * immediately followed by /) MySQL would return "mysqldump.exe" and "mysqldump" The path that these files are in will be searched for in the installation process and possibly used later (in tomcat's example, or in mysql's example) If the path isn't found, the user will be prompted with installation instructions. Paths that are directories should end in a '/' and files should not end in a slash.

Specified by:
getInstalledFileName in class ApplicationToInstallStub
Parameters:
operatingSystem - The OS that the target platform is running on. This will be gathered from org.browsecode.helpers.controlcomputer.ControlComputerInterface.
Returns:

getInstallerDirections

public java.lang.String getInstallerDirections(ControlComputerInterface machineToInstallOn)
Description copied from interface: ApplicationToInstall
Directions for installing the application by hand.

Returns: