summaryrefslogtreecommitdiffstats
path: root/EssentialsUpdate/src/com/earth2me/essentials/update/UpdatesDownloader.java
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-10-23 21:45:01 +0200
committersnowleo <schneeleo@gmail.com>2011-10-23 21:45:01 +0200
commit78884719823fb73d268bf9767189e85e7f916e41 (patch)
tree10e43a0d82d2db3b9c70d2ea3ee167db30682ad9 /EssentialsUpdate/src/com/earth2me/essentials/update/UpdatesDownloader.java
parent1b4b78d6e63ec54a5fceb604dffd1311b83bef8b (diff)
downloadEssentials-78884719823fb73d268bf9767189e85e7f916e41.tar
Essentials-78884719823fb73d268bf9767189e85e7f916e41.tar.gz
Essentials-78884719823fb73d268bf9767189e85e7f916e41.tar.lz
Essentials-78884719823fb73d268bf9767189e85e7f916e41.tar.xz
Essentials-78884719823fb73d268bf9767189e85e7f916e41.zip
Statemachine for installation wizard (WIP)
Diffstat (limited to 'EssentialsUpdate/src/com/earth2me/essentials/update/UpdatesDownloader.java')
-rw-r--r--EssentialsUpdate/src/com/earth2me/essentials/update/UpdatesDownloader.java23
1 files changed, 16 insertions, 7 deletions
diff --git a/EssentialsUpdate/src/com/earth2me/essentials/update/UpdatesDownloader.java b/EssentialsUpdate/src/com/earth2me/essentials/update/UpdatesDownloader.java
index 28ffdfe3c..717163726 100644
--- a/EssentialsUpdate/src/com/earth2me/essentials/update/UpdatesDownloader.java
+++ b/EssentialsUpdate/src/com/earth2me/essentials/update/UpdatesDownloader.java
@@ -1,19 +1,28 @@
package com.earth2me.essentials.update;
-import java.io.File;
+import org.bukkit.plugin.Plugin;
-public class UpdatesDownloader
+public class UpdatesDownloader extends WorkListener
{
+ public UpdatesDownloader(final Plugin plugin, final VersionInfo newVersionInfo)
+ {
+ super(plugin, newVersionInfo);
+ }
+
+ public void start()
+ {
+ }
- UpdatesDownloader()
+ @Override
+ public void onWorkAbort(String message)
{
-
+ throw new UnsupportedOperationException("Not supported yet.");
}
- void start(File updateFolderFile, VersionInfo newVersion)
+ @Override
+ public void onWorkDone(String message)
{
-
+ throw new UnsupportedOperationException("Not supported yet.");
}
-
}