001/*
002 * The contents of this file are subject to the terms of the Common Development and
003 * Distribution License (the License). You may not use this file except in compliance with the
004 * License.
005 *
006 * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
007 * specific language governing permission and limitations under the License.
008 *
009 * When distributing Covered Software, include this CDDL Header Notice in each file and include
010 * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
011 * Header, with the fields enclosed by brackets [] replaced by your own identifying
012 * information: "Portions Copyright [year] [name of copyright owner]".
013 *
014 * Copyright 2006-2010 Sun Microsystems, Inc.
015 * Portions Copyright 2013-2016 ForgeRock AS.
016 */
017package org.opends.quicksetup.ui;
018
019/**
020 * This is an enumeration used to identify the different fields that we have
021 * in the Installation wizard.
022 * <p>
023 * Note that each field is not necessarily associated
024 * with a single Swing component (for instance we have two text fields for
025 * the server location).  This enumeration is used to retrieve information from
026 * the panels without having any knowledge of the actual graphical layout.
027 */
028public enum FieldName
029{
030  /** The value associated with this is a String. */
031  ADMIN_CONNECTOR_PORT,
032  /** The value associated with this is a data options.Type. */
033  DATA_OPTIONS,
034  /** The value associated with this is a String. */
035  BACKEND_TYPE,
036  /** The value associated with this is a String. */
037  DIRECTORY_BASE_DN,
038  /** The value associated with this is a String. */
039  DIRECTORY_MANAGER_DN,
040  /** The value associated with this is a String. */
041  DIRECTORY_MANAGER_PWD,
042  /** The value associated with this is a String. */
043  DIRECTORY_MANAGER_PWD_CONFIRM,
044  /** The value associated with this is a Boolean. */
045  ENABLE_WINDOWS_SERVICE,
046  /** The value associated with this is a Set of String. */
047  EXTERNAL_DB_DIRECTORIES,
048  /** The value associated with this is a Set of String. */
049  EXTERNAL_LOG_FILES,
050  /** The value associated with this is a String. */
051  GLOBAL_ADMINISTRATOR_PWD,
052  /** The value associated with this is a String. */
053  GLOBAL_ADMINISTRATOR_PWD_CONFIRM,
054  /** The value associated with this is a String. */
055  GLOBAL_ADMINISTRATOR_UID,
056  /** The value associated with this is a String. */
057  HOST_NAME,
058  /** The value associated with this is a JavaArguments object. */
059  IMPORT_JAVA_ARGUMENTS,
060  /** The value associated with this is a String. */
061  LDIF_PATH,
062  /** The value associated with this is a String. */
063  NUMBER_ENTRIES,
064  /** The value associated with this is a Map<String, String>. */
065  REMOTE_REPLICATION_PORT,
066  /** The value associated with this is a Map<String, Boolean>. */
067  REMOTE_REPLICATION_SECURE,
068  /** The value associated with this is a String. */
069  REMOTE_SERVER_DN,
070  /** The value associated with this is a String. */
071  REMOTE_SERVER_HOST,
072  /** The value associated with this is a String. */
073  REMOTE_SERVER_PORT,
074  /** The value associated with this is a String. */
075  REMOTE_SERVER_PWD,
076  /** The value associated with this is a Boolean. */
077  REMOVE_BACKUPS,
078  /** The value associated with this is a Boolean. */
079  REMOVE_CONFIGURATION_AND_SCHEMA,
080  /** The value associated with this is a Boolean. */
081  REMOVE_DATABASES,
082  /** The value associated with this is a Boolean. */
083  REMOVE_LDIFS,
084  /** The value associated with this is a Boolean. */
085  REMOVE_LIBRARIES_AND_TOOLS,
086  /** The value associated with this is a Boolean. */
087  REMOVE_LOGS,
088  /** The value associated with this is a DataReplicationOptions.Type. */
089  REPLICATION_OPTIONS,
090  /** The value associated with this is a String. */
091  REPLICATION_PORT,
092  /** The value associated with this is a Boolean. */
093  REPLICATION_SECURE,
094  /** The value associated with this is a SecurityOptions object. */
095  SECURITY_OPTIONS,
096  /** The value associated with this is a JavaArguments object. */
097  SERVER_JAVA_ARGUMENTS,
098  /** The value associated with this is a String. */
099  SERVER_LOCATION,
100  /** The value associated with this is a String. */
101  SERVER_PORT,
102  /** The value associated with this is a Boolean. */
103  SERVER_START_INSTALLER,
104  /** The value associated with this is a Set of SuffixDescriptor. */
105  SUFFIXES_TO_REPLICATE,
106  /** The value associated with this is a Map with String keys and BackendTypeUIAdapter values. */
107  SUFFIXES_TO_REPLICATE_BACKEND_TYPE,
108  /** The value associated with this is a SuffixesToReplicateOptions.Type. */
109  SUFFIXES_TO_REPLICATE_OPTIONS
110}