public enum ProblemLongType extends Enum<ProblemLongType>
| 枚举常量和说明 |
|---|
LONG_CACHE |
LONG_CALL |
LONG_MQ |
LONG_SERVICE |
LONG_SQL |
LONG_URL |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract boolean |
checkLongType(String type) |
static ProblemLongType |
findByMessageType(String type) |
static ProblemLongType |
findByName(String name) |
String |
getName() |
int |
getThreshold() |
static ProblemLongType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ProblemLongType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ProblemLongType LONG_CACHE
public static final ProblemLongType LONG_CALL
public static final ProblemLongType LONG_SERVICE
public static final ProblemLongType LONG_SQL
public static final ProblemLongType LONG_URL
public static final ProblemLongType LONG_MQ
public static ProblemLongType[] values()
for (ProblemLongType c : ProblemLongType.values()) System.out.println(c);
public static ProblemLongType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static ProblemLongType findByName(String name)
public static ProblemLongType findByMessageType(String type)
protected abstract boolean checkLongType(String type)
public String getName()
public int getThreshold()
Copyright © 2022. All rights reserved.