code: @CheckForNull
      public static InstallState valueOf(@Nonnull String name) {
          for (InstallState state : all()) {
              if (name.equals(state.name)) {
                  return state;
              }
          }
          return null;
      }
docs: Find an install state by name
  @param name
  @return