org.browsecode.helpers.installer.applications
Class ApplicationSet

java.lang.Object
  extended by org.browsecode.helpers.installer.applications.ApplicationSet

public class ApplicationSet
extends java.lang.Object

A set of applications to install, or that has been installed. This list is ordered, in the order that applications need to be installed as prerequisite for other applications.


Constructor Summary
ApplicationSet()
           
 
Method Summary
 void addApplication(ApplicationToInstall applicationToInstall)
           
 void addApplicationBefore(ApplicationToInstall applicationToInstall, ApplicationToInstall installBeforeThis)
           
 java.util.List<ApplicationToInstall> getApplications()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationSet

public ApplicationSet()
Method Detail

getApplications

public java.util.List<ApplicationToInstall> getApplications()

addApplication

public void addApplication(ApplicationToInstall applicationToInstall)

addApplicationBefore

public void addApplicationBefore(ApplicationToInstall applicationToInstall,
                                 ApplicationToInstall installBeforeThis)
Parameters:
applicationToInstall - -- add this new one to the list of applications to install.
installBeforeThis - -- must already have been added to the list before naw. Adds applicationToInstall before this one.