|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.browsecode.helpers.installer.applications.ApplicationToInstallStub
public abstract class ApplicationToInstallStub
Nested Class Summary | |
---|---|
class |
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 | |
---|---|
protected java.lang.String |
description
|
protected java.lang.String |
installedInDirectory
|
protected java.net.URL[] |
installerFiles
|
protected java.net.URL[] |
installerWebsites
|
protected java.lang.String |
name
|
Fields inherited from interface org.browsecode.helpers.installer.applications.ApplicationToInstall |
---|
INSTALLED_BUT_DIRECTORY_UNKNOWN |
Constructor Summary | |
---|---|
ApplicationToInstallStub()
|
Method Summary | |
---|---|
void |
addedToApplicationSet(ApplicationSet applicationSet)
Called by ApplicationSet after the application has been added to the ApplicationSet. |
boolean |
getAskToFindPreviousInstalls()
Returns whether to ask the user whether this application has been installed before. |
java.lang.String |
getDescription()
|
protected ControlComputerInterface.FileMatches |
getInstalledFileMatches(ControlComputerInterface computer)
|
abstract java.lang.String[] |
getInstalledFileName(int operatingSystem)
A path and file that is installed when this program has been installed. |
java.lang.String |
getInstalledInDirectory()
After installing the program, this is the directory it was installed into. |
ApplicationToInstall.Installer |
getInstaller(ControlComputerInterface machineToInstallOn,
ApplicationSet applicationSet)
An installer or a zip of the application. |
protected java.net.URL[] |
getInstallers()
|
java.net.URL[] |
getInstallerURL()
Any URLs that the application can be downloaded by hand, by users, if the application installer is not available or can't be used for any reason. |
java.lang.String |
getName()
|
ApplicationToInstall.Searcher |
getSearcher()
|
boolean |
getTryToFindPreviousInstalls()
Returns true if it should search for the installation directiory, returns false if it should not search for the installation directory. |
void |
setAskUserIfInstalledBefore(boolean askUser)
|
void |
setDescription(java.lang.String description)
|
void |
setInstalledInDirectory(java.lang.String installedIn)
After installing the program, this is the directory it was installed into. |
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 |
setInstallerURL(java.net.URL[] installerWebsites)
Put the array in order of priority -- highest priority first, lowest priority last. |
void |
setName(java.lang.String name)
|
void |
setTryToFindPreviousInstalls(boolean tryToFind)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.browsecode.helpers.installer.applications.ApplicationToInstall |
---|
getInstallerDirections |
Field Detail |
---|
protected java.lang.String name
protected java.lang.String description
protected java.net.URL[] installerFiles
protected java.net.URL[] installerWebsites
protected java.lang.String installedInDirectory
Constructor Detail |
---|
public ApplicationToInstallStub()
Method Detail |
---|
public void addedToApplicationSet(ApplicationSet applicationSet)
ApplicationToInstall
addedToApplicationSet
in interface ApplicationToInstall
public java.lang.String getName()
getName
in interface ApplicationToInstall
public java.lang.String getDescription()
getDescription
in interface ApplicationToInstall
public void setName(java.lang.String name)
public void setDescription(java.lang.String description)
public ApplicationToInstall.Installer getInstaller(ControlComputerInterface machineToInstallOn, ApplicationSet applicationSet)
ApplicationToInstall
getInstaller
in interface ApplicationToInstall
public boolean getAskToFindPreviousInstalls()
ApplicationToInstall
getAskToFindPreviousInstalls
in interface ApplicationToInstall
public boolean getTryToFindPreviousInstalls()
ApplicationToInstall
getTryToFindPreviousInstalls
in interface ApplicationToInstall
public void setAskUserIfInstalledBefore(boolean askUser)
public void setTryToFindPreviousInstalls(boolean tryToFind)
public java.net.URL[] getInstallerURL()
ApplicationToInstall
getInstallerURL
in interface ApplicationToInstall
public void setInstallers(java.net.URL[] installerFile)
installerFile
- protected java.net.URL[] getInstallers()
public void setInstallerURL(java.net.URL[] installerWebsites)
installerWebsites
- public void setInstalledInDirectory(java.lang.String installedIn)
ApplicationToInstall
setInstalledInDirectory
in interface ApplicationToInstall
public java.lang.String getInstalledInDirectory()
ApplicationToInstall
getInstalledInDirectory
in interface ApplicationToInstall
public abstract java.lang.String[] getInstalledFileName(int operatingSystem)
operatingSystem
- The OS that the target platform is running on. This will be gathered from org.browsecode.helpers.controlcomputer.ControlComputerInterface.
protected ControlComputerInterface.FileMatches getInstalledFileMatches(ControlComputerInterface computer)
public ApplicationToInstall.Searcher getSearcher()
getSearcher
in interface ApplicationToInstall
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |