Annotation Interface Application
Declares the application class: its names, as gaia's
ApplicationDirectories takes them, and its version.
The processor generates an ApplicationDescriptor for the annotated class, which
Swing.launch finds through the ServiceLoader.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionReturns the application's name, as gaia'sApplicationDirectoriestakes it, and the displayed name unless the class's resources give anamekey.Returns the vendor's top-level domain; only with avendor().Returns the organization or person that makes the application.Returns the version, shown in the About dialog.
-
Element Details
-
name
String nameReturns the application's name, as gaia'sApplicationDirectoriestakes it, and the displayed name unless the class's resources give anamekey. An empty name is the class's simple name.- Returns:
- the application's name, such as
Counter, or an empty string for the class's simple name
- Default:
""
-
vendor
String vendorReturns the organization or person that makes the application.- Returns:
- the vendor, such as
imgn, or an empty string for none
- Default:
""
-
qualifier
-
version
String versionReturns the version, shown in the About dialog.- Returns:
- the version, such as
1.0, or an empty string for none
- Default:
""
-