| Package | Description |
|---|---|
| org.graylog2.bootstrap | |
| org.graylog2.plugin | |
| org.graylog2.shared |
| Modifier and Type | Field and Description |
|---|---|
protected static Version |
CmdLineTool.version |
| Modifier and Type | Field and Description |
|---|---|
static Version |
Version.CURRENT_CLASSPATH
Reads the current version from the classpath, using version.properties and git.properties.
|
| Modifier and Type | Method and Description |
|---|---|
static Version |
Version.from(int major,
int minor,
int patch)
Build valid
Version from major, minor, and patch version ("X.Y.Z"). |
static Version |
Version.from(int major,
int minor,
int patch,
String preRelease)
Build valid
Version from major, minor, and patch version ("X.Y.Z"). |
static Version |
Version.from(int major,
int minor,
int patch,
String preRelease,
String buildMetadata)
Build valid
Version from major, minor, and patch version ("X.Y.Z"). |
static Version |
Version.fromClasspathProperties(String path,
String propertyName,
String gitPath,
String gitPropertyName,
Version defaultVersion)
Try to read the version from
path (propertyName property)
and gitPath (gitPropertyName property) from the classpath. |
static Version |
Version.fromClasspathProperties(String path,
String gitPath,
Version defaultVersion)
Try to read the version from
path (project.version property)
and gitPath (git.commit.id property) from the classpath. |
static Version |
Version.fromClasspathProperties(Version defaultVersion)
Try to read the version from version.properties (
project.version property)
and git.properties (git.commit.id property) from the classpath. |
Version |
PluginMetaData.getRequiredVersion() |
Version |
PluginMetaData.getVersion() |
| Modifier and Type | Method and Description |
|---|---|
int |
Version.compareTo(Version that) |
static Version |
Version.fromClasspathProperties(String path,
String propertyName,
String gitPath,
String gitPropertyName,
Version defaultVersion)
Try to read the version from
path (propertyName property)
and gitPath (gitPropertyName property) from the classpath. |
static Version |
Version.fromClasspathProperties(String path,
String gitPath,
Version defaultVersion)
Try to read the version from
path (project.version property)
and gitPath (git.commit.id property) from the classpath. |
static Version |
Version.fromClasspathProperties(Version defaultVersion)
Try to read the version from version.properties (
project.version property)
and git.properties (git.commit.id property) from the classpath. |
boolean |
Version.greaterMinor(Version other)
Deprecated.
|
boolean |
Version.sameOrHigher(Version other) |
| Modifier and Type | Field and Description |
|---|---|
static Version |
ServerVersion.VERSION |
Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.