net.imagej.launcher
Class RemoteUpdater
java.lang.Object
net.imagej.launcher.RemoteUpdater
public class RemoteUpdater
- extends Object
Runs the ImageJ updater via Javascript from the update site.
The ImageJ updater has a convenient bootstrap Javascript that allows
launching the updater via jrunscript -- or from the ImageJ launcher, e.g.
when the ImageJ main class could not be loaded.
- Author:
- Johannes Schindelin
|
Method Summary |
static boolean |
runRemote(Throwable cause)
Runs the ImageJ updater via the bootstrap.js script, hosted on
the main update site. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BOOTSTRAP_REMOTE_URL
public static final String BOOTSTRAP_REMOTE_URL
- See Also:
- Constant Field Values
JS_REMOTE_URL
public static final String JS_REMOTE_URL
- See Also:
- Constant Field Values
RemoteUpdater
public RemoteUpdater()
runRemote
public static boolean runRemote(Throwable cause)
- Runs the ImageJ updater via the
bootstrap.js script, hosted on
the main update site.
- Parameters:
cause - the reason why the ImageJ updater needs to be called, or null
- Returns:
- whether the script was started successfully
Copyright © 2009–2016 ImageJ. All rights reserved.