public final class Geneious extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Geneious.MajorVersion
Represents a major version number of Geneious (the first 2 numbers of the 3 number version number) for versions of Geneious from 6.0 onwards.
|
| Constructor and Description |
|---|
Geneious() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getApiVersion()
Current Geneious public API version (convenience function)
Of the form x.y where x,y are integers.
|
static int |
getMajorApiVersion()
Major Geneious public API version.
|
static Geneious.MajorVersion |
getMajorVersion() |
static int |
getMinorApiVersion()
Minor Geneious public API version.
|
static String |
getName()
Application name.
|
static URL |
getServerResource(String resource)
Gets a resource from the Geneious Server class
which is used for resources that we want to make available to a plugin
when it is running on the server but we do not to ship it with Geneious
|
static String |
getVersion()
Get the current Geneious version.
|
static boolean |
isClient() |
static boolean |
isHeadless() |
static boolean |
isServer() |
public static String getName()
public static String getVersion()
public static Geneious.MajorVersion getMajorVersion()
public static String getApiVersion()
getMajorApiVersion() and "." and getMinorApiVersion()public static int getMajorApiVersion()
public static int getMinorApiVersion()
public static boolean isClient()
public static boolean isServer()
public static URL getServerResource(String resource)
resource - String name of hte resourcepublic static boolean isHeadless()