Class Main

java.lang.Object
de.spiritscorp.datasync.Main

public final class Main extends Object
Main application entry point responsible for runtime arguments parsing, debug subsystems orchestration, and boots-strapping the JavaFX platform lifecycle.
Author:
Tom Spirit
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The current version of the application in semantic format, including the development stage.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    Checks whether the debug mode is active for extended verbose and additional runtime diagnostic outputs.
    static boolean
    Checks whether the debug mode is active for extended verbose and additional runtime diagnostic outputs.
    static boolean
    Checks whether the application was launched automatically by the operating system's startup/autostart routine.
    static void
    main(String... args)
    Application entry point.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • VERSION

      public static final String VERSION
      The current version of the application in semantic format, including the development stage.
      See Also:
  • Constructor Details

    • Main

      public Main()
  • Method Details

    • main

      public static void main(String... args)
      Application entry point. Orchestrates the initial boot sequence by parsing command-line options and bootstrapping the underlying JavaFX application subsystem.

      This method delegates argument parsing to parseArguments(String [] args) before handing over control to the JavaFX application lifecycle via Application.launch(Class, String []).

      Parameters:
      args - Runtime command-line execution flags and configuration parameters.
    • isFirstStart

      public static boolean isFirstStart()
      Checks whether the application was launched automatically by the operating system's startup/autostart routine.

      When true, a timer delay is initialized to reduce system resource contention during OS boot, and the application is instructed to start minimized in the background. This flag is managed and set automatically during the autostart registration process.

      Returns:
      true if the application was triggered via OS autostart; false if it was started manually by the user.
    • isDebug

      public static boolean isDebug()
      Checks whether the debug mode is active for extended verbose and additional runtime diagnostic outputs.
      Returns:
      true if advanced diagnostic information should be emitted; false otherwise.
    • isDebugToFile

      public static boolean isDebugToFile()
      Checks whether the debug mode is active for extended verbose and additional runtime diagnostic outputs.
      Returns:
      true if advanced diagnostic information should be emitted; false otherwise.