public class UpdateChecker extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UpdateChecker.UpdateCheckerResult |
Constructor and Description |
---|
UpdateChecker(ShopChest plugin) |
Modifier and Type | Method and Description |
---|---|
String[] |
getBroadcast()
Get the broadcast message
|
String |
getLink() |
String |
getVersion() |
UpdateChecker.UpdateCheckerResult |
updateNeeded()
Check if an update is needed
|
public UpdateChecker(ShopChest plugin)
public UpdateChecker.UpdateCheckerResult updateNeeded()
UpdateChecker.UpdateCheckerResult.TRUE
if an update is available, UpdateChecker.UpdateCheckerResult.FALSE
if no update is needed or UpdateChecker.UpdateCheckerResult.ERROR
if an error occurredpublic String[] getBroadcast()
public String getVersion()
public String getLink()
Copyright © 2016. All rights reserved.