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

public abstract class UpdatableEntryPoint extends Object implements org.update4j.service.Launcher
Base class for application entry points that support updating.
Author:
Grégory Van den Borre
  • Constructor Details

    • UpdatableEntryPoint

      protected UpdatableEntryPoint()
      Creates a new entry point.
  • Method Details

    • run

      public final void run(org.update4j.LaunchContext launchContext)
      Specified by:
      run in interface org.update4j.service.Launcher
    • launch

      protected final void launch(String[] args)
      Launches the application by initializing common components.
      Parameters:
      args - the command line arguments
    • getApplicationName

      protected abstract String getApplicationName()
      Provide the name of the application.
      Returns:
      The application name.
    • getUpdateUrl

      protected abstract String getUpdateUrl()
      Provide the url to call to get the update manifest.
      Returns:
      The update manifest.
    • getStarter

      protected abstract Starter getStarter()
      Provide the starter.
      Returns:
      The starter.
    • getSplashScreen

      protected abstract SplashScreenProvider getSplashScreen()
      Provide the splash screen.
      Returns:
      The splash screen.
    • getDefaultConfiguration

      protected abstract Properties getDefaultConfiguration()
      Provide the default configuration properties.
      Returns:
      The default configuration properties.