Package velox.api.layer1.settings
Annotation Type StrategySettingsVersion
@Retention(RUNTIME)
public @interface StrategySettingsVersion
Defines current version of settings and compatibility with previous versions
Any settings that wish to be saved and loaded from config should have this annotation
-
Required Element Summary
Required Elements Modifier and Type Required Element Description int[]
compatibleVersions
int
currentVersion
-
Element Details
-
currentVersion
int currentVersion- Returns:
- current settings version
-
compatibleVersions
int[] compatibleVersions- Returns:
- settings versions, that are compatible with current settings version If stored settings are not compatible with current version, default settings will be used
-