Module de.carne
Package de.carne.boot

Interface ApplicationMain

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ApplicationMain
    Application entry point.
    • Method Detail

      • name

        default java.lang.String name()
        Gets the application's name.
        Returns:
        the application's name.
      • run

        int run​(java.lang.String[] args)
        Runs the application.
        Parameters:
        args - the command line arguments.
        Returns:
        the application exit status.