public static Status valueOfDescription(final String description) {
      for (Status status : values()) {
        if (status.getDescription().equalsIgnoreCase(description)) {
          return status;
        }
      }

      return null;
    }
Looks up the Status enum type by description. The lookup operation is case-insensitive.

@param description a String value describing the Locator's status.
@return a Status enumerated type matching the description.
geode-core/src/main/java/org/apache/geode/distributed/AbstractLauncher.java