public enum MqTypeEnum extends Enum<MqTypeEnum>
| 限定符和类型 | 方法和说明 |
|---|---|
static MqTypeEnum |
getByType(String type) |
String |
getType() |
static void |
isSupported(String type)
类型是否被支持
|
static MqTypeEnum |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static MqTypeEnum[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final MqTypeEnum ROCKETMQ
public static final MqTypeEnum MQTT
public static final MqTypeEnum RABBITMQ
public static final MqTypeEnum KAFKA
public static MqTypeEnum[] values()
for (MqTypeEnum c : MqTypeEnum.values()) System.out.println(c);
public static MqTypeEnum valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static MqTypeEnum getByType(String type)
public static void isSupported(String type)
type - public String getType()
Copyright © 2022. All rights reserved.