public class VersionCheck
extends com.serotonin.timer.TimerTask
Modifier and Type | Class and Description |
---|---|
(package private) static class |
VersionCheck.NI |
Modifier and Type | Field and Description |
---|---|
private static VersionCheck |
instance |
private static java.lang.String |
INSTANCE_ID_FILE |
private static java.lang.String |
instanceId |
private static long |
TIMEOUT |
Modifier | Constructor and Description |
---|---|
private |
VersionCheck() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
calcMachineId() |
private static SystemEventType |
getEventType() |
static java.lang.String |
getInstanceId() |
private static com.serotonin.web.i18n.LocalizableMessage |
newVersionCheck(long fireTime,
java.lang.String notifLevel) |
static com.serotonin.web.i18n.LocalizableMessage |
newVersionCheck(java.lang.String notifLevel) |
private static java.lang.String |
newVersionCheckImpl(java.lang.String notifLevel) |
void |
run(long fireTime) |
static void |
start()
This method will set up the version checking job.
|
static void |
stop() |
private static final long TIMEOUT
private static final java.lang.String INSTANCE_ID_FILE
private static VersionCheck instance
private static java.lang.String instanceId
public static void start()
public static void stop()
public static java.lang.String getInstanceId()
public void run(long fireTime)
run
in class com.serotonin.timer.TimerTask
public static com.serotonin.web.i18n.LocalizableMessage newVersionCheck(java.lang.String notifLevel) throws java.lang.Exception
java.lang.Exception
private static SystemEventType getEventType()
private static com.serotonin.web.i18n.LocalizableMessage newVersionCheck(long fireTime, java.lang.String notifLevel) throws java.lang.Exception
java.lang.Exception
private static java.lang.String newVersionCheckImpl(java.lang.String notifLevel) throws java.lang.Exception
java.lang.Exception
private static java.lang.String calcMachineId()