Interface PackageApplicationTask.WindowsConfiguration

Enclosing interface:
PackageApplicationTask

public static interface PackageApplicationTask.WindowsConfiguration

Windows specific configuration.

Since:
1.4
Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<String>
    Returns the Start Menu group the application is placed in.
    default Optional<URI>
    Returns the URL of available application update information.
    default Optional<String>
    Returns the UUID associated with upgrades for this package.
    default boolean
    Determines whether the application should be started with a console launcher.
    default boolean
    Determines whether user should be enabled to choose a directory in which the product is installed.
    default boolean
    Determines whether a Start Menu shortcut should be added for the application.
    default boolean
    Determines whether the application is installed per-user.
    default boolean
    Determines whether a shortcut should be created for the application.
    default boolean
    Determines whether user should be enabled to choose if shortcuts will be created by installer.
  • Method Details

    • isConsole

      default boolean isConsole()

      Determines whether the application should be started with a console launcher.

      A console launcher is needed for application requiring console interactions.

      Returns:
      true to start the application with a console launcher, false otherwise
    • isDirChooser

      default boolean isDirChooser()

      Determines whether user should be enabled to choose a directory in which the product is installed.

      Returns:
      true to add a dialog to choose an install directory, false otherwise
    • isMenu

      default boolean isMenu()

      Determines whether a Start Menu shortcut should be added for the application.

      Returns:
      true to add a Start Menu shortcut, false otherwise
    • getMenuGroup

      default Optional<String> getMenuGroup()

      Returns the Start Menu group the application is placed in.

      Returns:
      an optional returning the Start Menu group of the application or an empty optional
    • isPerUserInstall

      default boolean isPerUserInstall()

      Determines whether the application is installed per-user.

      Returns:
      true to install on a per-user basis, false otherwise
    • isShortcut

      default boolean isShortcut()

      Determines whether a shortcut should be created for the application.

      Returns:
      true to create a shortcut, false otherwise
    • isShortcutPrompt

      default boolean isShortcutPrompt()

      Determines whether user should be enabled to choose if shortcuts will be created by installer.

      Returns:
      true to add a dialog for choosing if shortcuts will be created, false otherwise
    • getUpdateURL

      default Optional<URI> getUpdateURL()

      Returns the URL of available application update information.

      Returns:
      an optional returning the URL of available application update information or an empty optional
    • getUpgradeUUID

      default Optional<String> getUpgradeUUID()

      Returns the UUID associated with upgrades for this package.

      Returns:
      an optional returning the UUID associated with upgrades for this package or an empty optional