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 |
---|---|
UpdateChecker.UpdateCheckerResult |
check()
Check if an update is needed
|
String |
getLink() |
String |
getVersion() |
public UpdateChecker(ShopChest plugin)
public UpdateChecker.UpdateCheckerResult check()
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 getVersion()
public String getLink()
Copyright © 2017. All rights reserved.