Enum ZipkinSenderProperties.SenderType
- java.lang.Object
-
- java.lang.Enum<ZipkinSenderProperties.SenderType>
-
- org.springframework.cloud.sleuth.autoconfig.zipkin2.ZipkinSenderProperties.SenderType
-
- All Implemented Interfaces:
Serializable,Comparable<ZipkinSenderProperties.SenderType>
- Enclosing class:
- ZipkinSenderProperties
public static enum ZipkinSenderProperties.SenderType extends Enum<ZipkinSenderProperties.SenderType>
Types of a sender.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ZipkinSenderProperties.SenderTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ZipkinSenderProperties.SenderType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVEMQ
public static final ZipkinSenderProperties.SenderType ACTIVEMQ
ActiveMQ sender.
-
RABBIT
public static final ZipkinSenderProperties.SenderType RABBIT
RabbitMQ sender.
-
KAFKA
public static final ZipkinSenderProperties.SenderType KAFKA
Kafka sender.
-
WEB
public static final ZipkinSenderProperties.SenderType WEB
HTTP based sender.
-
-
Method Detail
-
values
public static ZipkinSenderProperties.SenderType[] 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 (ZipkinSenderProperties.SenderType c : ZipkinSenderProperties.SenderType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZipkinSenderProperties.SenderType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-