org.browsecode.helpers.installer.applications
Class InstallApplication

java.lang.Object
  extended by org.browsecode.helpers.installer.applications.InstallApplication
All Implemented Interfaces:
java.lang.Runnable, ControlComputerInterface.ConfirmationHandler

public class InstallApplication
extends java.lang.Object
implements java.lang.Runnable, ControlComputerInterface.ConfirmationHandler


Nested Class Summary
static interface InstallApplication.InstallationConfirmationHandler
           
static interface InstallApplication.NotifyAfterUserBrowses
           
 
Constructor Summary
InstallApplication(ControlComputerInterface computerToInstallOn)
           
InstallApplication(ControlComputerInterface computerToInstallOn, ApplicationSet applicationSet)
           
 
Method Summary
 ApplicationToInstall getApplicationToInstall()
           
 InstallApplication.InstallationConfirmationHandler getConfirmationHandler()
           
 ProgressListener getProgressListener()
           
 boolean isFoundLocationOk(java.lang.String location)
          Ask the user whether this directory is good.
static void main(java.lang.String[] args)
           
 void run()
           
 void setApplicationToInstall(ApplicationToInstall applicationToInstall)
           
 void setConfirmationHandler(InstallApplication.InstallationConfirmationHandler confirmationHandler)
           
 void setProgressListener(ProgressListener progressListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstallApplication

public InstallApplication(ControlComputerInterface computerToInstallOn,
                          ApplicationSet applicationSet)

InstallApplication

public InstallApplication(ControlComputerInterface computerToInstallOn)
Method Detail

getApplicationToInstall

public ApplicationToInstall getApplicationToInstall()

setApplicationToInstall

public void setApplicationToInstall(ApplicationToInstall applicationToInstall)

getConfirmationHandler

public InstallApplication.InstallationConfirmationHandler getConfirmationHandler()

setConfirmationHandler

public void setConfirmationHandler(InstallApplication.InstallationConfirmationHandler confirmationHandler)

getProgressListener

public ProgressListener getProgressListener()

setProgressListener

public void setProgressListener(ProgressListener progressListener)

isFoundLocationOk

public boolean isFoundLocationOk(java.lang.String location)
Description copied from interface: ControlComputerInterface.ConfirmationHandler
Ask the user whether this directory is good.

Specified by:
isFoundLocationOk in interface ControlComputerInterface.ConfirmationHandler
Returns:

run

public void run()
Specified by:
run in interface java.lang.Runnable

main

public static final void main(java.lang.String[] args)