protected PreconfigureServiceType getCommandPreconfigureType() {
    String preconfigureServices = getCommandParameterValue(getCommandParameters(), PRECONFIGURE_SERVICES);
    PreconfigureServiceType type = null;
    if (!StringUtils.isEmpty(preconfigureServices)) {
      try {
        type = PreconfigureServiceType.valueOf(preconfigureServices.toUpperCase());
      } catch (Throwable t) {
        LOG.warn("Invalid preconfigure_services value, assuming DEFAULT: {}", preconfigureServices);
        type = PreconfigureServiceType.DEFAULT;
      }
    }
    return type;
  }
Returns preconfigure type passed to current action.

@return PreconfigureServiceType
ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/KerberosServerAction.java