public class JavaScriptPluginVersion
extends java.lang.Object
Constructor and Description |
---|
JavaScriptPluginVersion(java.lang.String version) |
Modifier and Type | Method and Description |
---|---|
static int |
compareVersions(java.lang.String version1,
java.lang.String version2) |
boolean |
isCurrent() |
boolean |
isNewer() |
boolean |
isOlder() |
static int |
safeParseInt(java.lang.String s,
int fallback) |
java.lang.String |
toString() |
public JavaScriptPluginVersion(java.lang.String version)
version
- public static int compareVersions(java.lang.String version1, java.lang.String version2)
version1
- version2
- public static int safeParseInt(java.lang.String s, int fallback)
public boolean isCurrent()
public boolean isOlder()
public boolean isNewer()
public java.lang.String toString()
toString
in class java.lang.Object