public static PluginEnum getPluginEnumByName(final String name) {
        return PLUGIN_ENUM_MAP.getOrDefault(name, PluginEnum.GLOBAL);
    }
get plugin enum by name.

@param name plugin name.
@return plugin enum.
shenyu-common/src/main/java/org/apache/shenyu/common/enums/PluginEnum.java