com.partnersoft.update
Class UpdateApp

java.lang.Object
  extended by com.partnersoft.system.App
      extended by com.partnersoft.update.UpdateApp
Direct Known Subclasses:
PCUpdateApp

public class UpdateApp
extends App

Updates a local install from a web install using Guppy.

Author:
Paul Reavis Copyright 2004 Partner Software, Inc.

Constructor Summary
UpdateApp()
           
 
Method Summary
static void makeAbsolutelySureItAintA3xInstall(java.io.File installDir)
           
 void runImp()
           
 void setOptions(Cog options)
           
 void startupImp()
           
 java.util.Set whichPackages(java.lang.String sourceType, java.lang.String destinationType, java.lang.String osType, boolean embedJava)
          Determines the package update set based on the source, destination, and OS.
 
Methods inherited from class com.partnersoft.system.App
getEnvironment, getName, runApp, setName, shutdownImp, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateApp

public UpdateApp()
Method Detail

setOptions

public void setOptions(Cog options)
Overrides:
setOptions in class App

startupImp

public void startupImp()
                throws java.lang.Exception
Overrides:
startupImp in class App
Throws:
java.lang.Exception

runImp

public void runImp()
            throws java.lang.Exception
Specified by:
runImp in class App
Throws:
java.lang.Exception

whichPackages

public java.util.Set whichPackages(java.lang.String sourceType,
                                   java.lang.String destinationType,
                                   java.lang.String osType,
                                   boolean embedJava)
Determines the package update set based on the source, destination, and OS.


makeAbsolutelySureItAintA3xInstall

public static void makeAbsolutelySureItAintA3xInstall(java.io.File installDir)
                                               throws java.lang.Exception
Throws:
java.lang.Exception