package ru.yandex.wmconsole.data;

import ru.yandex.misc.enums.EnumResolver;

/**
 * @author avhaliullin
 */
public enum SearchDomainEnum {
    TR,
    RU;

//    public static SearchDomainEnum getByName(String name) {
//        for (SearchDomainEnum search : values()) {
//            if (search.name().equalsIgnoreCase(name)) {
//                return search;
//            }
//        }
//        return RU;
//    }
    public static final EnumResolver<SearchDomainEnum> R = EnumResolver.er(SearchDomainEnum.class);
}
