com.dynatrace.oneagent.sdk.api.enums
Enum ChannelType
java.lang.Object
java.lang.Enum<ChannelType>
com.dynatrace.oneagent.sdk.api.enums.ChannelType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ChannelType>
public enum ChannelType
- extends java.lang.Enum<ChannelType>
Defines the type of communication channel being used.
Method Summary |
int |
getSDKConstant()
|
static ChannelType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ChannelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
OTHER
public static final ChannelType OTHER
TCP_IP
public static final ChannelType TCP_IP
UNIX_DOMAIN_SOCKET
public static final ChannelType UNIX_DOMAIN_SOCKET
NAMED_PIPE
public static final ChannelType NAMED_PIPE
IN_PROCESS
public static final ChannelType IN_PROCESS
values
public static ChannelType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ChannelType c : ChannelType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ChannelType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
getSDKConstant
public int getSDKConstant()