public static enum ProbeProperties.Protocol extends Enum<ProbeProperties.Protocol>
Enum Constant and Description |
---|
Http |
Tcp |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static ProbeProperties.Protocol |
fromValue(String text) |
String |
toString() |
static ProbeProperties.Protocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProbeProperties.Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProbeProperties.Protocol Tcp
public static final ProbeProperties.Protocol Http
public static final ProbeProperties.Protocol UNRECOGNIZED
public static ProbeProperties.Protocol[] values()
for (ProbeProperties.Protocol c : ProbeProperties.Protocol.values()) System.out.println(c);
public static ProbeProperties.Protocol 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 ProbeProperties.Protocol fromValue(String text)
public String toString()
toString
in class Enum<ProbeProperties.Protocol>
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.