# Uses of Class
tigase.util.Version

Packages that use Version
Package
Description
tigase.db
tigase.db.converter
tigase.db.jdbc
tigase.db.util
tigase.db.xml
tigase.server
The main package with top level API for server side components.
tigase.util
tigase.util.updater

- ## Uses of Version in tigase.db

  Methods in tigase.db that return types with arguments of type Version
  Modifier and Type
  Method
  Description
  `Optional<Version>`
  DataRepositoryPool.`getSchemaVersion(String component)`
  `Optional<Version>`
  DataSource.`getSchemaVersion(String component)`
  Method obtains version of the schema for particular component stored in the database.
  `Optional<Version>`
  DummyRepository.`getSchemaVersion(String component)`

- ## Uses of Version in tigase.db.converter

  Methods in tigase.db.converter that return types with arguments of type Version
  Modifier and Type
  Method
  Description
  `Optional<Version>`
  DataRepoPool.`getSchemaVersion(String component)`

- ## Uses of Version in tigase.db.jdbc

  Methods in tigase.db.jdbc that return types with arguments of type Version
  Modifier and Type
  Method
  Description
  `Optional<Version>`
  DataRepositoryImpl.`getSchemaVersion(String component)`

- ## Uses of Version in tigase.db.util

  Methods in tigase.db.util that return Version
  Modifier and Type
  Method
  Description
  `default Version`
  RepositoryVersionAware.`getVersion()`
  Returns current required version of the repository implementing this interface (If we are version aware then we have to specify the version)
  Methods in tigase.db.util that return types with arguments of type Version
  Modifier and Type
  Method
  Description
  `Optional<Version>`
  DBSchemaLoader.`getComponentVersionFromDb(String component)`
  `abstract Optional<Version>`
  SchemaLoader.`getComponentVersionFromDb(String component)`
  `Optional<Version>`
  DBSchemaLoader.`getMinimalRequiredComponentVersionForUpgrade(SchemaManager.SchemaInfo schema)`
  `abstract Optional<Version>`
  SchemaLoader.`getMinimalRequiredComponentVersionForUpgrade(SchemaManager.SchemaInfo schema)`
  `Map<Version,Path>`
  DBSchemaLoader.`getSchemaFileNames(String schemaId)`
  `Optional<Version>`
  SchemaManager.DataSourceInfo.`getSchemaVersion(String component)`
  `Optional<Version>`
  SchemaManager.SchemaInfo.`getVersion()`
  Methods in tigase.db.util with parameters of type Version
  Modifier and Type
  Method
  Description
  `default SchemaLoader.Result`
  RepositoryVersionAware.`updateSchema(Optional<Version> oldVersion, Version newVersion)`
  Method used to update schema in the database from the (optional) `oldVersion` to `newVersion`.
  Method parameters in tigase.db.util with type arguments of type Version
  Modifier and Type
  Method
  Description
  `default SchemaLoader.Result`
  RepositoryVersionAware.`updateSchema(Optional<Version> oldVersion, Version newVersion)`
  Method used to update schema in the database from the (optional) `oldVersion` to `newVersion`.
  Constructors in tigase.db.util with parameters of type Version
  Modifier
  Constructor
  Description
  ``
  `VersionCheckerSchemaInfo(Class<? extends DataSourceAware> datasourceClass, Optional<Version> databaseVersion, Version requiredVersion)`
  Constructor parameters in tigase.db.util with type arguments of type Version
  Modifier
  Constructor
  Description
  ``
  `VersionCheckerSchemaInfo(Class<? extends DataSourceAware> datasourceClass, Optional<Version> databaseVersion, Version requiredVersion)`

- ## Uses of Version in tigase.db.xml

  Methods in tigase.db.xml that return types with arguments of type Version
  Modifier and Type
  Method
  Description
  `Optional<Version>`
  XMLDataSource.`getSchemaVersion(String component)`

- ## Uses of Version in tigase.server

  Methods in tigase.server that return Version
  Modifier and Type
  Method
  Description
  `static Version`
  XMPPServer.`getVersion()`
  Methods in tigase.server that return types with arguments of type Version
  Modifier and Type
  Method
  Description
  `static Optional<Version>`
  ComponentInfo.`getImplementationVersion(String... classes)`

- ## Uses of Version in tigase.util

  Fields in tigase.util declared as Version
  Modifier and Type
  Field
  Description
  `static final Version`
  Version.`ZERO`
  Fields in tigase.util with type parameters of type Version
  Modifier and Type
  Field
  Description
  `static final Comparator<Version>`
  Version.`VERSION_COMPARATOR`
  Methods in tigase.util that return Version
  Modifier and Type
  Method
  Description
  `Version`
  Version.Builder.`build()`
  `Version`
  Version.`getBaseVersion()`
  `Version`
  Version.`increment(Version.FIELD field, int amount)`
  Method increments given field by the specified amount
  `static Version`
  Version.`of(String str)`
  Supports both tigase-server-7.2.0-SNAPSHOT-b4895-dist-max.tar.gz and version strings
  Methods in tigase.util with parameters of type Version
  Modifier and Type
  Method
  Description
  `int`
  Version.`compareTo(Version that)`
  Constructors in tigase.util with parameters of type Version
  Modifier
  Constructor
  Description
  ``
  `Builder(Version version)`

- ## Uses of Version in tigase.util.updater

  Methods in tigase.util.updater that return Version
  Modifier and Type
  Method
  Description
  `Version`
  UpdatesChecker.UpdatedVersionDiscovered.`getVersion()`
  Methods in tigase.util.updater that return types with arguments of type Version
  Modifier and Type
  Method
  Description
  `static Optional<Version>`
  UpdatesChecker.`retrieveCurrentVersionFromServer(Version currentVersion, List<UpdatesChecker.ProductInfoIfc> products, String url, int timeoutInSeconds)`
  Methods in tigase.util.updater with parameters of type Version
  Modifier and Type
  Method
  Description
  `static Optional<Version>`
  UpdatesChecker.`retrieveCurrentVersionFromServer(Version currentVersion, List<UpdatesChecker.ProductInfoIfc> products, String url, int timeoutInSeconds)`