|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.update.app.UpdateRuntimeLogic
public class UpdateRuntimeLogic
Update logic pertaining to exiting this program and running other programs.
Much of these method are copied from com.partnersoft.system.RuntimeLib; they are duplicated here so that the Update subsystem doesn't depend on Java 1.6 or the rest of the Partner platform.
Copyright 2010 Partner Software, Inc.
| Constructor Summary | |
|---|---|
UpdateRuntimeLogic(UpdateApp app)
|
|
| Method Summary | |
|---|---|
void |
die(java.lang.String message,
java.lang.Throwable oopsie)
|
void |
execAndHalt(java.lang.String command)
Executes the given OS-specific command; then halts the current Java session. |
void |
execAndHalt(java.lang.String command,
java.io.File currentDir)
Executes the given OS-specific command; then halts the current Java session. |
void |
execAndWait(java.lang.String command,
java.io.File currentDir)
|
java.lang.Process |
execNoWait(java.lang.String command)
Same as execNoWait(command, currentDir) but defaulted to the install directory. |
java.lang.Process |
execNoWait(java.lang.String command,
java.io.File currentDir)
Same as execAndWait(command, currentDir) but does not wait - the process continues in a separate thread. |
void |
exit()
|
void |
finishInstall()
|
void |
makeShortcuts()
|
void |
migrate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UpdateRuntimeLogic(UpdateApp app)
| Method Detail |
|---|
public void migrate()
throws java.io.IOException
java.io.IOException
public void finishInstall()
throws java.io.IOException
java.io.IOException
public void makeShortcuts()
throws java.io.IOException
java.io.IOExceptionpublic void exit()
public void execAndWait(java.lang.String command,
java.io.File currentDir)
throws java.io.IOException
java.io.IOException
public java.lang.Process execNoWait(java.lang.String command)
throws java.io.IOException
java.io.IOException
public java.lang.Process execNoWait(java.lang.String command,
java.io.File currentDir)
throws java.io.IOException
java.io.IOException
public void execAndHalt(java.lang.String command)
throws java.io.IOException
java.io.IOException
public void execAndHalt(java.lang.String command,
java.io.File currentDir)
throws java.io.IOException
java.io.IOException
public void die(java.lang.String message,
java.lang.Throwable oopsie)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||