org.keycloak.migration

## Class ModelVersion

- java.lang.Object
- - org.keycloak.migration.ModelVersion

-     public class ModelVersion
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ModelVersion(int major, int minor, int micro)`
    `ModelVersion(String version)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `int` | `getMajor()`
    `int` | `getMicro()`
    `int` | `getMinor()`
    `String` | `getQualifier()`
    `boolean` | `lessThan(ModelVersion version)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ModelVersion

          public ModelVersion(int major,
                              int minor,
                              int micro)

    - #### ModelVersion

          public ModelVersion(String version)

  - ### Method Detail

    - #### getMajor

          public int getMajor()

    - #### getMinor

          public int getMinor()

    - #### getMicro

          public int getMicro()

    - #### getQualifier

          public String getQualifier()

    - #### lessThan

          public boolean lessThan(ModelVersion version)

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2021 JBoss by Red Hat. All rights reserved.