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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(AsteriskVersion o) |
boolean |
equals(Object o) |
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 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>Copyright © 2004–2016. All rights reserved.