Interface LauncherStartupInfo

All Known Subinterfaces:
LauncherJarStartupInfo, LauncherModularStartupInfo
All Known Implementing Classes:
LauncherStartupInfo.Stub

public interface LauncherStartupInfo
Generic startup configuration of an application launcher.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    Default implementation of LauncherStartupInfo interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the files and directories that should be put on a classpath for an application launcher this launcher startup configuration applies to.
    Gets the default parameters for the main(String[] args) method of the main class of this launcher startup configuration.
    Gets JVM options of this launcher startup configuration.
    default String
    Gets the package name of the main class of this launcher startup configuration.
    Gets the qualified name of the main class of this launcher startup configuration.
    default String
    Returns the simple name of the main class of this launcher startup configuration as given in the source code.
  • Method Details

    • qualifiedClassName

      String qualifiedClassName()
      Gets the qualified name of the main class of this launcher startup configuration.
      Returns:
      the qualified name of the main class of this launcher startup configuration
    • simpleClassName

      default String simpleClassName()
      Returns the simple name of the main class of this launcher startup configuration as given in the source code.
      Returns:
      the simple name of the main class of this launcher startup configuration as given in the source code
    • packageName

      default String packageName()
      Gets the package name of the main class of this launcher startup configuration.
      Returns:
      the package name of the main class of this launcher startup configuration
    • javaOptions

      List<String> javaOptions()
      Gets JVM options of this launcher startup configuration.
      Returns:
      the JVM options of this launcher startup configuration
    • defaultParameters

      List<String> defaultParameters()
      Gets the default parameters for the main(String[] args) method of the main class of this launcher startup configuration.
      Returns:
      the default parameters for the main(String[] args) method of the main class of this launcher startup configuration
    • classPath

      List<Path> classPath()
      Gets the files and directories that should be put on a classpath for an application launcher this launcher startup configuration applies to.
      Returns:
      the classpath of this launcher startup configuration