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 counts down from 3 each second.
The update should not start automatically since the user should have to 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
Creates the update directory.
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.
Applications running in unattended mode (presentation mode, dashboards, etc...) may override this method and update without asking the user.
createUpdateService() - Method in class org.tentackle.fx.rdc.update.LoginFailedWithUpdateHandler
Creates the remote update service.

E

EXIT_VALUE_OUTDATED - Static variable in class org.tentackle.fx.rdc.update.LoginFailedWithUpdateHandler
Exit value if the application terminated because it is outdated or the update failed.
Differs from the exit value 98 used by the standard LoginFailedHandler 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.
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
To handle login failed exceptions.
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.
This happens only if both the username and password were given and a valid cryptor was found.

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.

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 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