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()
-
-
-
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
-
compareTo
public int compareTo(ContainerDescription.ModelVersion o)
- Specified by:
compareTo
in interfaceComparable<ContainerDescription.ModelVersion>
-
-