code: @Deprecated
      protected Object readResolve() {
          // If we get invalid state from the configuration, fallback to unknown
          if (StringUtils.isBlank(name)) {
              LOGGER.log(Level.WARNING, "Read install state with blank name: ''{0}''. It will be ignored", name);
              return UNKNOWN;
          }
          
          InstallState state = InstallState.valueOf(name);
          if (state == null) {
              LOGGER.log(Level.WARNING, "Cannot locate an extension point for the state ''{0}''. It will be ignored", name);
              return UNKNOWN;
          }
          
          // Otherwise we return the actual state
          return state;
      }
docs: The actual class name is irrelevant; this is functionally an enum.
  <p>Creating a {@code writeReplace} does not help much since XStream then just saves:
  {@code <installState class="jenkins.install.InstallState$CreateAdminUser" resolves-to="jenkins.install.InstallState">}
  @see #UNUSED_INNER_CLASSES
  @deprecated Should no longer be used, as {@link Jenkins} now saves only {@link #name}.