public static ResumptionAction fromName(String name) {
    if (name == null || name.length() == 0) {
      throw new IllegalArgumentException(
          String.format("Invalid ResumptionAction name: %s",
              name));
    }
    for (final ResumptionAction privateValue : PRIVATE_VALUES) {
      if (name.equals(privateValue.name)) {
        return privateValue;
      }
    }
    throw new IllegalArgumentException(
        String.format("Invalid ResumptionAction name: %s", name));
  }
Return the ResumptionAction specified by name

@param name the name of the action
@return the ResumptionAction specified by name
geode-core/src/main/java/org/apache/geode/cache/ResumptionAction.java