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 intgetBuildNumber()Returns the build number of the ran pluginStringgetCommit()Returns the commit which triggered the build of the ran instance of the pluginStringgetVersion()Returns the version specified in plugin.ymlbooleanisDevBuild()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:
trueif dev build,falseotherwise
-
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
-
-