Class UpdatableEntryPoint
java.lang.Object
be.yildizgames.common.application.UpdatableEntryPoint
- All Implemented Interfaces:
org.update4j.inject.Injectable,org.update4j.service.Launcher,org.update4j.service.Service
Base class for application entry points that support updating.
- Author:
- Grégory Van den Borre
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StringProvide the name of the application.protected abstract PropertiesProvide the default configuration properties.protected abstract SplashScreenProviderProvide the splash screen.protected abstract StarterProvide the starter.protected abstract StringProvide the url to call to get the update manifest.protected final voidLaunches the application by initializing common components.final voidrun(org.update4j.LaunchContext launchContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.update4j.service.Service
version
-
Constructor Details
-
UpdatableEntryPoint
protected UpdatableEntryPoint()Creates a new entry point.
-
-
Method Details
-
run
public final void run(org.update4j.LaunchContext launchContext) - Specified by:
runin interfaceorg.update4j.service.Launcher
-
launch
Launches the application by initializing common components.- Parameters:
args- the command line arguments
-
getApplicationName
Provide the name of the application.- Returns:
- The application name.
-
getUpdateUrl
Provide the url to call to get the update manifest.- Returns:
- The update manifest.
-
getStarter
Provide the starter.- Returns:
- The starter.
-
getSplashScreen
Provide the splash screen.- Returns:
- The splash screen.
-
getDefaultConfiguration
Provide the default configuration properties.- Returns:
- The default configuration properties.
-