Package org.core.platform.plugin.details
Class CorePluginVersion
java.lang.Object
org.core.platform.plugin.details.CorePluginVersion
- All Implemented Interfaces:
PluginVersion
Gets the plugin version in the form of major.minor.patch
-
Constructor Summary
ConstructorDescriptionCorePluginVersion(int major, int minor, int patch)
CorePluginVersion(int major, int minor, int patch, @Nullable String versionName, @Nullable Integer version)
-
Method Summary
-
Constructor Details
-
CorePluginVersion
public CorePluginVersion(int major, int minor, int patch) -
CorePluginVersion
-
-
Method Details
-
getMajor
public int getMajor() -
getMinor
public int getMinor() -
getPatch
public int getPatch() -
isGreater
public boolean isGreater(int major) -
isGreater
public boolean isGreater(int major, int minor) -
isGreater
-
asString
- Specified by:
asString
in interfacePluginVersion
-