public enum SIPACLTransportProtocol extends Enum<SIPACLTransportProtocol>
Modifier and Type | Method and Description |
---|---|
static SIPACLTransportProtocol |
get(String value) |
String |
toString() |
String |
value() |
static SIPACLTransportProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SIPACLTransportProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SIPACLTransportProtocol UDP
public static final SIPACLTransportProtocol TCP
public static final SIPACLTransportProtocol ALL
public static SIPACLTransportProtocol[] values()
for (SIPACLTransportProtocol c : SIPACLTransportProtocol.values()) System.out.println(c);
public static SIPACLTransportProtocol 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 String value()
public String toString()
toString
in class Enum<SIPACLTransportProtocol>
public static SIPACLTransportProtocol get(String value)
Copyright © 2016 ECG, Inc. All rights reserved.