## Uses of Class
tigase.util.Version

- Packages that use Version
  Package | Description
  --- | ---
  tigase.db |
  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
    --- | --- | ---
    `java.util.Optional<Version>` | DataRepositoryPool.`getSchemaVersion​(java.lang.String component)` |
    `java.util.Optional<Version>` | DataSource.`getSchemaVersion​(java.lang.String component)` | Method obtains version of the schema for particular component stored in the database.
    `java.util.Optional<Version>` | DummyRepository.`getSchemaVersion​(java.lang.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
    --- | --- | ---
    `java.util.Optional<Version>` | DataRepositoryImpl.`getSchemaVersion​(java.lang.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
    --- | --- | ---
    `java.util.Optional<Version>` | DBSchemaLoader.`getComponentVersionFromDb​(java.lang.String component)` |
    `abstract java.util.Optional<Version>` | SchemaLoader.`getComponentVersionFromDb​(java.lang.String component)` |
    `java.util.Optional<Version>` | DBSchemaLoader.`getMinimalRequiredComponentVersionForUpgrade​(SchemaManager.SchemaInfo schema)` |
    `abstract java.util.Optional<Version>` | SchemaLoader.`getMinimalRequiredComponentVersionForUpgrade​(SchemaManager.SchemaInfo schema)` |
    `java.util.Map<Version,​java.nio.file.Path>` | DBSchemaLoader.`getSchemaFileNames​(java.lang.String schemaId)` |
    `java.util.Optional<Version>` | SchemaManager.DataSourceInfo.`getSchemaVersion​(java.lang.String component)` |
    `java.util.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​(java.util.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​(java.util.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
    Constructor | Description
    --- | ---
    `VersionCheckerSchemaInfo​(java.lang.Class<? extends DataSourceAware> datasourceClass, java.util.Optional<Version> databaseVersion, Version requiredVersion)` |

    Constructor parameters in tigase.db.util with type arguments of type Version
    Constructor | Description
    --- | ---
    `VersionCheckerSchemaInfo​(java.lang.Class<? extends DataSourceAware> datasourceClass, java.util.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
    --- | --- | ---
    `java.util.Optional<Version>` | XMLDataSource.`getSchemaVersion​(java.lang.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 java.util.Optional<Version>` | ComponentInfo.`getImplementationVersion​(java.lang.String... classes)` |

  - ### Uses of Version in tigase.util

    Fields in tigase.util declared as Version
    Modifier and Type | Field | Description
    --- | --- | ---
    `static Version` | Version.`ZERO` |

    Fields in tigase.util with type parameters of type Version
    Modifier and Type | Field | Description
    --- | --- | ---
    `static java.util.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​(java.lang.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
    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 java.util.Optional<Version>` | UpdatesChecker.`retrieveCurrentVersionFromServer​(Version currentVersion, java.util.List<UpdatesChecker.ProductInfoIfc> products, java.lang.String url, int timeoutInSeconds)` |

    Methods in tigase.util.updater with parameters of type Version
    Modifier and Type | Method | Description
    --- | --- | ---
    `static java.util.Optional<Version>` | UpdatesChecker.`retrieveCurrentVersionFromServer​(Version currentVersion, java.util.List<UpdatesChecker.ProductInfoIfc> products, java.lang.String url, int timeoutInSeconds)` |