Class Version
java.lang.Object
me.mythicalflame.spigotmodding.utilities.Version
This class represents a SpigotModding API version.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Version
public Version(int major, int minor, int patch) Constructs a Version object with the release metadata "release".- Parameters:
major
- The major version number.minor
- The minor version number.patch
- The patch version number.
-
Version
- Parameters:
major
- The major version number.minor
- The minor version number.patch
- The patch version number.releaseData
- The release metadata.
-
-
Method Details
-
getMajor
public int getMajor()- Returns:
- The major version number.
-
getMinor
public int getMinor()- Returns:
- The minor version number.
-
getPatch
public int getPatch()- Returns:
- The patch version number.
-
getReleaseData
- Returns:
- The release metadata.
-
toString
-
equals
-
hashCode
public int hashCode()
-