Package velox.api.layer1.annotations
Enum Class Layer1ApiVersionValue
- All Implemented Interfaces:
Serializable,Comparable<Layer1ApiVersionValue>,Constable
List of API versions. If you are writing a new module, you typically want the
latest one available in the lowest Bookmap that you are targeting. Easiest
way to check would be to install that version and see what is the last value
in this enum. If no such enum exists this means you have picked
pre-compatibility-system version, which is not recommended. Compatibility
system was added in version 7.0 during beta stage.
Only breaking changes are listed in comments. New features can be added at any point without incrementing API version (especially while in alpha/beta), so there is no guarantee that older build will run with indicator intended for newer one.
Only breaking changes are listed in comments. New features can be added at any point without incrementing API version (especially while in alpha/beta), so there is no guarantee that older build will run with indicator intended for newer one.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic Layer1ApiVersionValueintstatic Layer1ApiVersionValuevalueOf(int numericValue) Returns the enum constant of this class with the specified name.static Layer1ApiVersionValueReturns the enum constant of this class with the specified name.static Layer1ApiVersionValue[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VERSION0
API right before compatibility system was introduced. There were few small changes in API before that, but presumably not many people used API at that stage. -
VERSION1
Development started around 2018-06-12 in version 7.0.- Removed Layer1ApiAdminListener.selectAccount. Use
SelectAccountMessageinstead - Fixed return values in
Layer1ApiProviderSupportedFeaturesBuilder
- Removed Layer1ApiAdminListener.selectAccount. Use
-
VERSION2
Development started around 2018-11-20 in version 7.0.- Changed AliasFilter from being a class to being an interface
- Changed IndicatorColorScheme from being a class to being an interface
-
VERSION3
Development started around 2024-09-15 in version 7.6.- Introduced child-first class loader.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumericValue
public int getNumericValue() -
getHighestVersion
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
numericValue- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-