Package org.wildfly.plugin.tools

## Class ContainerDescription.ModelVersion

- java.lang.Object
- - org.wildfly.plugin.tools.ContainerDescription.ModelVersion

- All Implemented Interfaces:
    `Comparable<ContainerDescription.ModelVersion>`
  Enclosing interface:
    ContainerDescription

      public static final class ContainerDescription.ModelVersion
      extends Object
      implements Comparable<ContainerDescription.ModelVersion>

  Describes the model version.

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `compareTo​(ContainerDescription.ModelVersion o)` |
    `boolean` | `equals​(Object obj)` |
    `int` | `hashCode()` |
    `int` | `major()` | The major version of the model.
    `int` | `micro()` | THe micro version of the model.
    `int` | `minor()` | The minor version of the model.
    `String` | `toString()` |

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

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

- - ### Method Detail

    - #### major

          public int major()

      The major version of the model.
      Returns:
        the major version

    - #### minor

          public int minor()

      The minor version of the model.
      Returns:
        the minor version

    - #### micro

          public int micro()

      THe micro version of the model.
      Returns:
        the micro version

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals​(Object obj)

      Overrides:
        `equals` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### compareTo

          public int compareTo​(ContainerDescription.ModelVersion o)

      Specified by:
        `compareTo` in interface `Comparable<ContainerDescription.ModelVersion>`