|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.update.app.UpdateLogic
public class UpdateLogic
Root of the UpdateApp logic tree. Mostly provides access to more-specific logic classes.
Copyright 2010 Partner Software, Inc.
| Constructor Summary | |
|---|---|
UpdateLogic(UpdateApp app)
|
|
| Method Summary | |
|---|---|
void |
cleanup()
Clean up the destination filesystem, should only be called after a failure. |
void |
exit()
Exit the program. |
UpdateApp |
getApp()
|
UpdateFileLogic |
getFileLogic()
|
UpdatePackageLogic |
getPackageLogic()
|
UpdateRuntimeLogic |
getRuntimeLogic()
|
java.lang.String |
humaneTimestamp()
Return a human-readable timestamp. |
void |
initialize()
Initialize logic state and perform any pre-update tasks. |
void |
migrate()
Run the module migration process. |
void |
update()
Perform the update. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UpdateLogic(UpdateApp app)
| Method Detail |
|---|
public void initialize()
throws java.io.IOException
java.io.IOException
public void update()
throws java.io.IOException
java.io.IOException
public void migrate()
throws java.io.IOException
java.io.IOExceptionpublic void exit()
public void cleanup()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String humaneTimestamp()
public UpdateApp getApp()
public UpdatePackageLogic getPackageLogic()
public UpdateFileLogic getFileLogic()
public UpdateRuntimeLogic getRuntimeLogic()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||