public enum TrunkType extends Enum<TrunkType>
| Modifier and Type | Field and Description |
|---|---|
String |
displayStr |
Integer |
value |
| Modifier and Type | Method and Description |
|---|---|
static TrunkType |
fromValue(Integer value) |
static TrunkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrunkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrunkType PSTN
public static final TrunkType SIP
public static final TrunkType Outbound
public static final TrunkType ALL
public static final TrunkType UNKNOWN
public static TrunkType[] values()
for (TrunkType c : TrunkType.values()) System.out.println(c);
public static TrunkType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static TrunkType fromValue(Integer value) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2026. All rights reserved.