public class Updater extends java.lang.Object implements java.beans.PropertyChangeListener, EngineStatusListener
Modifier and Type | Class and Description |
---|---|
protected static class |
Updater.State |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.String> |
_deletions |
protected Differ |
_differ |
protected java.util.List<FileNode> |
_downloads |
protected java.util.List<AppUpdate> |
_installs |
protected Updater.State |
_state |
protected boolean |
_updatingThis |
Modifier | Constructor and Description |
---|---|
protected |
Updater() |
|
Updater(ComponentsPane componentsPane) |
protected |
Updater(UpdateTableModel model) |
Modifier and Type | Method and Description |
---|---|
protected void |
consolidateLibDir(java.io.File tomcatRoot) |
protected void |
doDeletions(java.io.File tomcatRoot) |
protected void |
doUninstalls(java.io.File tomcatRoot) |
protected java.io.File |
doUpdates(java.io.File tomcatDir) |
protected void |
download() |
protected void |
download(java.util.List<AppUpdate> updates) |
protected void |
downloadCompleted() |
protected void |
finalise() |
protected java.util.List<java.lang.String> |
getDeletionList(java.util.List<AppUpdate> updates) |
protected Downloader |
getDownloader() |
protected java.util.List<FileNode> |
getDownloadList(java.util.List<AppUpdate> updates) |
protected long |
getDownloadSize(java.util.List<AppUpdate> updates) |
protected java.util.List<AppUpdate> |
getInstallList(java.util.List<UpdateRow> updateRows) |
protected java.util.Map<java.lang.String,java.lang.String> |
getMd5Map() |
protected ProgressPanel |
getProgressPanel() |
protected java.util.List<AppUpdate> |
getUpdatesList() |
protected boolean |
onlyUpdatingControlPanel() |
void |
propertyChange(java.beans.PropertyChangeEvent event) |
protected void |
resetCursor() |
protected void |
setState(Updater.State state) |
protected void |
setWaitCursor() |
protected void |
showError(java.lang.String message) |
protected void |
showWarning(java.lang.String message) |
void |
start() |
void |
statusChanged(EngineStatus status) |
protected void |
verify() |
protected Differ _differ
protected java.util.List<AppUpdate> _installs
protected java.util.List<FileNode> _downloads
protected java.util.List<java.lang.String> _deletions
protected Updater.State _state
protected boolean _updatingThis
protected Updater()
protected Updater(UpdateTableModel model)
public Updater(ComponentsPane componentsPane)
public void start()
public void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange
in interface java.beans.PropertyChangeListener
public void statusChanged(EngineStatus status)
statusChanged
in interface EngineStatusListener
protected void setState(Updater.State state)
protected void download()
protected void verify()
protected void finalise()
protected java.util.List<FileNode> getDownloadList(java.util.List<AppUpdate> updates)
protected java.util.List<java.lang.String> getDeletionList(java.util.List<AppUpdate> updates)
protected java.util.List<AppUpdate> getInstallList(java.util.List<UpdateRow> updateRows)
protected java.util.Map<java.lang.String,java.lang.String> getMd5Map()
protected java.util.List<AppUpdate> getUpdatesList()
protected long getDownloadSize(java.util.List<AppUpdate> updates)
protected void download(java.util.List<AppUpdate> updates)
protected void downloadCompleted()
protected ProgressPanel getProgressPanel()
protected Downloader getDownloader()
protected void showError(java.lang.String message)
protected void showWarning(java.lang.String message)
protected java.io.File doUpdates(java.io.File tomcatDir)
protected boolean onlyUpdatingControlPanel()
protected void doDeletions(java.io.File tomcatRoot)
protected void doUninstalls(java.io.File tomcatRoot)
protected void consolidateLibDir(java.io.File tomcatRoot)
protected void resetCursor()
protected void setWaitCursor()
Copyright © 2004-2014 The YAWL Foundation.