Module jpastreamer.appinfo
Interface ApplicationInformation
public interface ApplicationInformation
-
Method Summary
Modifier and TypeMethodDescriptionbanner()Returns a banner that can be printed upon startup.Return the non-null version of the applcation implementation.default booleanReturns if this version is intended for production use.Returns the license name for this product.The name of the official repository of the product.Returns the non-null version number of the specification that this application implements.subtitle()Returns the subtitle of the product.title()Returns the title of the product.vendor()Returns the vendor of the product.
-
Method Details
-
vendor
String vendor()Returns the vendor of the product. This is primarily used to show meaningful information to the user.- Returns:
- the vendor
-
title
String title()Returns the title of the product. This is primarily used to show meaningful information to the user.- Returns:
- the title
-
subtitle
String subtitle()Returns the subtitle of the product. This is primarily used to show meaningful information to the user.- Returns:
- the subtitle
-
repository
String repository()The name of the official repository of the product. This is used to lookup the latest version.- Returns:
- the name of the official repository
-
implementationVersion
String implementationVersion()Return the non-null version of the applcation implementation. It consists of any string assigned by the vendor of this implementation and does not have any particular syntax specified or expected by the Java runtime. It may be compared for equality with other package version strings used for this implementation by this vendor for this package.- Returns:
- the non-null version of this application implementation
-
specificationVersion
String specificationVersion()Returns the non-null version number of the specification that this application implements. This version string must be a sequence of non-negative decimal integers separated by "."'s and may have leading zeros. When version strings are compared the most significant numbers are compared.- Returns:
- the non-null version number of the specification that this application implements
-
isProductionMode
default boolean isProductionMode()Returns if this version is intended for production use.- Returns:
- if this version is intended for production use
-
licenseName
String licenseName()Returns the license name for this product.- Returns:
- the license name for this product
-
banner
String banner()Returns a banner that can be printed upon startup.- Returns:
- a banner that can be printed upon startup
-