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
  • 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