001/*
002 * CDDL HEADER START
003 *
004 * The contents of this file are subject to the terms of the
005 * Common Development and Distribution License, Version 1.0 only
006 * (the "License").  You may not use this file except in compliance
007 * with the License.
008 *
009 * You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
010 * or http://forgerock.org/license/CDDLv1.0.html.
011 * See the License for the specific language governing permissions
012 * and limitations under the License.
013 *
014 * When distributing Covered Code, include this CDDL HEADER in each
015 * file and include the License file at legal-notices/CDDLv1_0.txt.
016 * If applicable, add the following below this CDDL HEADER, with the
017 * fields enclosed by brackets "[]" replaced with your own identifying
018 * information:
019 *      Portions Copyright [yyyy] [name of copyright owner]
020 *
021 * CDDL HEADER END
022 *
023 *
024 *      Copyright 2006-2010 Sun Microsystems, Inc.
025 *      Portions Copyright 2013-2015 ForgeRock AS.
026 */
027
028package org.opends.quicksetup.ui;
029
030/**
031 * This is an enumeration used to identify the different fields that we have
032 * in the Installation wizard.
033 *
034 * Note that each field is not necessarily associated
035 * with a single Swing component (for instance we have two text fields for
036 * the server location).  This enumeration is used to retrieve information from
037 * the panels without having any knowledge of the actual graphical layout.
038 *
039 */
040public enum FieldName
041{
042  /** The value associated with this is a String. */
043  ADMIN_CONNECTOR_PORT,
044
045  /** The value associated with this is a data options.Type. */
046  DATA_OPTIONS,
047
048  /** The value associated with this is a String. **/
049  BACKEND_TYPE,
050
051  /** The value associated with this is a String. */
052  DIRECTORY_BASE_DN,
053
054  /** The value associated with this is a String. */
055  DIRECTORY_MANAGER_DN,
056
057  /** The value associated with this is a String. */
058  DIRECTORY_MANAGER_PWD,
059
060  /** The value associated with this is a String. */
061  DIRECTORY_MANAGER_PWD_CONFIRM,
062
063  /** The value associated with this is a Boolean. */
064  ENABLE_WINDOWS_SERVICE,
065
066  /** The value associated with this is a Set of String. */
067  EXTERNAL_DB_DIRECTORIES,
068
069  /** The value associated with this is a Set of String. */
070  EXTERNAL_LOG_FILES,
071
072  /** The value associated with this is a String. */
073  GLOBAL_ADMINISTRATOR_PWD,
074
075  /** The value associated with this is a String. */
076  GLOBAL_ADMINISTRATOR_PWD_CONFIRM,
077
078  /** The value associated with this is a String. */
079  GLOBAL_ADMINISTRATOR_UID,
080
081  /** The value associated with this is a String. */
082  HOST_NAME,
083
084  /** The value associated with this is a JavaArguments object. */
085  IMPORT_JAVA_ARGUMENTS,
086
087  /** The value associated with this is a String. */
088  LDIF_PATH,
089
090  /** The value associated with this is a String. */
091  NUMBER_ENTRIES,
092
093  /** The value associated with this is a Map<String, String>. */
094  REMOTE_REPLICATION_PORT,
095
096  /** The value associated with this is a Map<String, Boolean>. */
097  REMOTE_REPLICATION_SECURE,
098
099  /** The value associated with this is a String. */
100  REMOTE_SERVER_DN,
101
102  /** The value associated with this is a String. */
103  REMOTE_SERVER_HOST,
104
105  /** The value associated with this is a String. */
106  REMOTE_SERVER_PORT,
107
108  /** The value associated with this is a String. */
109  REMOTE_SERVER_PWD,
110
111  /** The value associated with this is a Boolean. */
112  REMOVE_BACKUPS,
113
114  /** The value associated with this is a Boolean. */
115  REMOVE_CONFIGURATION_AND_SCHEMA,
116
117  /** The value associated with this is a Boolean. */
118  REMOVE_DATABASES,
119
120  /** The value associated with this is a Boolean. */
121  REMOVE_LDIFS,
122
123  /** The value associated with this is a Boolean. */
124  REMOVE_LIBRARIES_AND_TOOLS,
125
126  /** The value associated with this is a Boolean. */
127  REMOVE_LOGS,
128
129  /** The value associated with this is a DataReplicationOptions.Type. */
130  REPLICATION_OPTIONS,
131
132  /** The value associated with this is a String. */
133  REPLICATION_PORT,
134
135  /** The value associated with this is a Boolean. */
136  REPLICATION_SECURE,
137
138  /** The value associated with this is a SecurityOptions object. */
139  SECURITY_OPTIONS,
140
141  /** The value associated with this is a JavaArguments object. */
142  SERVER_JAVA_ARGUMENTS,
143
144  /** The value associated with this is a String. */
145  SERVER_LOCATION,
146
147  /** The value associated with this is a String. */
148  SERVER_PORT,
149
150  /** The value associated with this is a Boolean. */
151  SERVER_START_INSTALLER,
152
153  /** The value associated with this is a Set of SuffixDescriptor. */
154  SUFFIXES_TO_REPLICATE,
155
156  /** The value associated with this is a Map with String keys and BackendTypeUIAdapter values. */
157  SUFFIXES_TO_REPLICATE_BACKEND_TYPE,
158
159  /** The value associated with this is a SuffixesToReplicateOptions.Type. */
160  SUFFIXES_TO_REPLICATE_OPTIONS
161}