Interface App

    • Method Detail

      • getTitle

        default String getTitle()
        Gets the title of the application.
      • getGroupId

        String getGroupId()
        The Maven groupId of the application.
      • getArtifactId

        String getArtifactId()
        The Maven artifactId of the application.
      • getPOM

        POM getPOM()
        Gets the Maven POM containing metadata about the application.
      • getManifest

        Manifest getManifest()
        Gets the manifest containing metadata about the application.

        NB: This metadata may be null if run in a development environment.

      • getInfo

        default String getInfo​(boolean mem)
        Gets a string with information about the application.
        Parameters:
        mem - If true, memory usage information is included.
      • getSystemProperty

        default String getSystemProperty()
        A system property which, if set, overrides the base directory of the application.
      • getBaseDirectory

        default File getBaseDirectory()
        Gets the application's root directory. If the application's system property is set, it is used. Otherwise, we scan up the tree from this class for a suitable directory.
      • about

        void about()
        Displays information about the application. Typically this action takes the form as About dialog in the UI, and/or a message on the console.
      • prefs

        default void prefs()
        Displays application preferences. The behavior is application-specific, but typically a preferences dialog will be shown onscreen.
      • quit

        default void quit()
        Quits the application. Typically this action will prompt the user about any unsaved work first.
      • getVersion

        default String getVersion()
        Gets the version of the application.

        SciJava conforms to the Semantic Versioning specification.

        Specified by:
        getVersion in interface Versioned
        Returns:
        The application version, in major.minor.micro format.