public class AsteriskVersion extends Object implements Comparable<AsteriskVersion>, Serializable
Modifier and Type | Field and Description |
---|---|
static AsteriskVersion |
ASTERISK_1_0
Represents the Asterisk 1.0 series.
|
static AsteriskVersion |
ASTERISK_1_2
Represents the Asterisk 1.2 series.
|
static AsteriskVersion |
ASTERISK_1_4
Represents the Asterisk 1.4 series.
|
static AsteriskVersion |
ASTERISK_1_6
Represents the Asterisk 1.6 series.
|
static AsteriskVersion |
ASTERISK_1_8
Represents the Asterisk 1.8 series.
|
static AsteriskVersion |
ASTERISK_10
Represents the Asterisk 10 series.
|
static AsteriskVersion |
ASTERISK_11
Represents the Asterisk 11 series.
|
static AsteriskVersion |
ASTERISK_12
Represents the Asterisk 12 series.
|
static AsteriskVersion |
ASTERISK_13
Represents the Asterisk 13 series.
|
static AsteriskVersion |
ASTERISK_14
Represents the Asterisk 14 series.
|
static AsteriskVersion |
ASTERISK_15
Represents the Asterisk 15 series.
|
static AsteriskVersion |
ASTERISK_16
Represents the Asterisk 16 series.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AsteriskVersion o) |
boolean |
equals(Object o) |
static AsteriskVersion |
getDetermineVersionFromString(String coreLine) |
int |
hashCode() |
boolean |
isAtLeast(AsteriskVersion o)
Returns
true if this version is equal to or higher than the
given version. |
String |
toString() |
public static final AsteriskVersion ASTERISK_1_0
public static final AsteriskVersion ASTERISK_1_2
public static final AsteriskVersion ASTERISK_1_4
public static final AsteriskVersion ASTERISK_1_6
public static final AsteriskVersion ASTERISK_1_8
public static final AsteriskVersion ASTERISK_10
public static final AsteriskVersion ASTERISK_11
public static final AsteriskVersion ASTERISK_12
public static final AsteriskVersion ASTERISK_13
public static final AsteriskVersion ASTERISK_14
public static final AsteriskVersion ASTERISK_15
public static final AsteriskVersion ASTERISK_16
public boolean isAtLeast(AsteriskVersion o)
true
if this version is equal to or higher than the
given version.o
- the version to compare totrue
if this version is equal to or higher than the
given version, false
otherwise.public int compareTo(AsteriskVersion o)
compareTo
in interface Comparable<AsteriskVersion>
public static AsteriskVersion getDetermineVersionFromString(String coreLine)
Copyright © 2004–2020. All rights reserved.