public static NodeType fromString(final String str) {
            if (NullSafe.isBlankString(str)) {
                throw new IllegalArgumentException("Blank string not a valid UniqueIdType");
            }
            NodeType nodeType = DISPLAY_VALUE_TO_ENUM_MAP.get(str);
            if (nodeType == null) {
                nodeType = DISPLAY_VALUE_TO_ENUM_MAP.get(str.toUpperCase());
            }
            if (nodeType == null) {
                throw new IllegalArgumentException(LogUtil.message(
                        "Unable to parse {} to a UniqueIdType. Valid values are {}", str, NodeType.values()));
            }
            return nodeType;
        }
Whether the node is a stroom-proxy or stroom node.
stroom-util/src/main/java/stroom/util/concurrent/UniqueId.java