Package com.palmergames.bukkit.towny
Class TownyUpdateChecker
java.lang.Object
com.palmergames.bukkit.towny.TownyUpdateChecker
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkForUpdates
(Towny towny) static Version
static String
static boolean
static boolean
static void
setCheckedSuccessfully
(boolean checkedSuccessfully) static void
setNewVersion
(Version newVersion) static void
setUpdate
(boolean update) static boolean
-
Constructor Details
-
TownyUpdateChecker
public TownyUpdateChecker()
-
-
Method Details
-
checkForUpdates
-
setUpdate
public static void setUpdate(boolean update) -
hasUpdate
public static boolean hasUpdate() -
setNewVersion
-
getNewVersion
-
getUpdateURL
-
setCheckedSuccessfully
public static void setCheckedSuccessfully(boolean checkedSuccessfully) -
hasCheckedSuccessfully
public static boolean hasCheckedSuccessfully() -
shouldShowNotification
public static boolean shouldShowNotification()
-