Class SkinsVersionInfo


  • public final class SkinsVersionInfo
    extends Object
    Represents a version info, providing information about the plugin's exact versioning.
    • Constructor Detail

      • SkinsVersionInfo

        public SkinsVersionInfo​(String version,
                                String commit,
                                int buildNumber)
    • 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