@JsonCreator
public static SelectionType forValue(String v) {
for (SelectionType st : SelectionType.values()) {
if (st.type.equals(v)) {
return st;
}
}
throw new IllegalArgumentException("Invalid selection type: " + v);
}
Selection.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:openhab-hdl
作者:
评论列表
文章目录