Index

A C E G H I L O P R S T U 
All Classes and Interfaces|All Packages|Constant Field Values

A

assertNotAlreadyRunning() - Method in class org.tentackle.fx.rdc.update.UpdatableDesktopApplication
Checks whether another updatable application is already running within the same installation.
Throws TentackleRuntimeException if so.

C

createCountdownTimeline(FxButton) - Method in class org.tentackle.fx.rdc.update.LoginFailedWithUpdateHandler
Creates a countdown timeline for the go-button to start the update automatically after a few seconds.
The default implementation replaces the button text every second by 3, 2, 1 and 0 seconds and clicks the button at 0, i.e. about four seconds after the dialog was shown.
The update should not start immediately, since the user must have the option to cancel.
createLockFilePath(InstallationType) - Method in class org.tentackle.fx.rdc.update.UpdatableDesktopApplication
Creates the path of the lockfile.
The lockfile must live within the installation, not in the current working directory, since jpackage launchers don't necessarily start the application in its installation directory.
createLoginFailedHandler(Parent, SessionInfo) - Method in class org.tentackle.fx.rdc.update.UpdatableDesktopApplication
 
createUpdateDirectory(InstallationType) - Method in class org.tentackle.fx.rdc.update.LoginFailedWithUpdateHandler
Determines the update directory.
The default is update below the package root for jpackage and below the image root for jlink.
createUpdateRunnable(ClientInfo, UpdateInfo, InstallationType) - Method in class org.tentackle.fx.rdc.update.LoginFailedWithUpdateHandler
Creates a runnable that will be invoked if a newer version exists.
The default implementation asks the user whether to update or not and invokes LoginFailedWithUpdateHandler.update(UpdateInfo, InstallationType) or LoginFailedWithUpdateHandler.terminate(String, Throwable), respectively.
createUpdateService() - Method in class org.tentackle.fx.rdc.update.LoginFailedWithUpdateHandler
Creates the remote update service.
The service URL is taken from the application property updateService.

E

EXIT_VALUE_OUTDATED - Static variable in class org.tentackle.fx.rdc.update.LoginFailedWithUpdateHandler
Exit value if the application terminated because it is outdated and cannot update itself, or the update failed.
Differs from LoginFailedHandler.EXIT_LOGIN_FAILED used by the standard handler for other login failures.

G

getBundle() - Static method in class org.tentackle.fx.rdc.update.UpdateFxRdcBundle
Gets the bundle.
getLockFileName() - Method in class org.tentackle.fx.rdc.update.UpdatableDesktopApplication
Gets the name of the lockfile.
The default is the application name reduced to ASCII letters and digits, in lower case, plus .lck.
getString(String) - Static method in class org.tentackle.fx.rdc.update.UpdateFxRdcBundle
Gets a string for the given key.

H

handle(Exception) - Method in class org.tentackle.fx.rdc.update.LoginFailedWithUpdateHandler

I

initialize() - Method in class org.tentackle.fx.rdc.update.UpdatableDesktopApplication
 

L

LoginFailedWithUpdateHandler - Class in org.tentackle.fx.rdc.update
Login failed handler that updates an outdated client.
LoginFailedWithUpdateHandler(DesktopApplication, Parent, SessionInfo) - Constructor for class org.tentackle.fx.rdc.update.LoginFailedWithUpdateHandler
Creates a login failed handler.

O

org.tentackle.fx.rdc.update - module org.tentackle.fx.rdc.update
tentackle-fx-rdc-update module.
org.tentackle.fx.rdc.update - package org.tentackle.fx.rdc.update
 

P

passSessionInfoViaEnvironment(Map) - Method in class org.tentackle.fx.rdc.update.LoginFailedWithUpdateHandler
Passes the current username and password encrypted to the process environment of the updated application.
Requires a Cryptor.

R

readPidFromLockFile(Path) - Method in class org.tentackle.fx.rdc.update.UpdatableDesktopApplication
Reads the PID of the application instance holding the lock.

S

setStopReason(Throwable) - Method in class org.tentackle.fx.rdc.update.LoginFailedWithUpdateHandler
Records why the application is going to terminate.
The exit value and the stacktrace are picked up when the last window is closed.
showUpdateDialog(Object, String, Consumer) - Method in class org.tentackle.fx.rdc.update.LoginFailedWithUpdateHandler
Shows an update dialog to ask the user whether to update or not.
Invoked from within the FX thread.

T

terminate(String, Throwable) - Method in class org.tentackle.fx.rdc.update.LoginFailedWithUpdateHandler
Terminates the application.
Shows the message, if any, as an error (with throwable) or info dialog and closes the login window when the dialog is closed.

U

UpdatableDesktopApplication<C> - Class in org.tentackle.fx.rdc.update
Desktop application with auto update facility.
UpdatableDesktopApplication(String, String) - Constructor for class org.tentackle.fx.rdc.update.UpdatableDesktopApplication
Creates an updatable FX desktop application.
update(UpdateInfo, InstallationType) - Method in class org.tentackle.fx.rdc.update.LoginFailedWithUpdateHandler
Runs the update.
Downloads and unzips the new version and launches the update script, which replaces the running image after this application has terminated.
UpdateFxRdcBundle - Class in org.tentackle.fx.rdc.update
Bundle for tentackle-fx-rdc-update.
A C E G H I L O P R S T U 
All Classes and Interfaces|All Packages|Constant Field Values