public class AWBUpdater
extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
static long |
UPDATE_CHECK_PERIOD |
Constructor and Description |
---|
AWBUpdater()
Instantiates a new Agent.Workbench updater process.
|
AWBUpdater(boolean userExecuted)
Instantiates a new Agent.Workbench updater process.
|
AWBUpdater(boolean userExecuted,
boolean enforceUpdate)
Instantiates a new Agent.Workbench updater process.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isUpdateDone()
Checks if the update is done.
|
void |
run() |
void |
startP2Updates()
Starts a p2-based update procedure
|
void |
waitForUpdate()
Wait until the update is done.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public static final long UPDATE_CHECK_PERIOD
public AWBUpdater()
public AWBUpdater(boolean userExecuted)
userExecuted
- indicates that execution was manually chosen by userpublic AWBUpdater(boolean userExecuted, boolean enforceUpdate)
userExecuted
- indicates that execution was manually chosen by userenforceUpdate
- the enforce updatepublic void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void startP2Updates()
public boolean isUpdateDone()
public void waitForUpdate()