Package com.mrivanplays.skins.api
Class SkinsVersionInfo
- java.lang.Object
-
- com.mrivanplays.skins.api.SkinsVersionInfo
-
public final class SkinsVersionInfo extends Object
Represents a version info, providing information about the plugin's exact versioning.
-
-
Constructor Summary
Constructors Constructor Description SkinsVersionInfo(String version, String commit, int buildNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBuildNumber()
Returns the build number of the ran pluginString
getCommit()
Returns the commit which triggered the build of the ran instance of the pluginString
getVersion()
Returns the version specified in plugin.ymlboolean
isDevBuild()
Returns whenever the plugin build, ran by the server, is a development build.
-
-
-
Method Detail
-
getVersion
public String getVersion()
Returns the version specified in plugin.yml- Returns:
- version
-
isDevBuild
public boolean isDevBuild()
Returns whenever the plugin build, ran by the server, is a development build.- Returns:
true
if dev build,false
otherwise
-
getCommit
public String getCommit()
Returns the commit which triggered the build of the ran instance of the plugin- Returns:
- commit
-
getBuildNumber
public int getBuildNumber()
Returns the build number of the ran plugin- Returns:
- build number
-
-