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-2015 ForgeRock AS.
016 */
017
018package org.opends.quicksetup.ui;
019
020/**
021 * This is an enumeration used to identify the different fields that we have
022 * in the Installation wizard.
023 *
024 * Note that each field is not necessarily associated
025 * with a single Swing component (for instance we have two text fields for
026 * the server location).  This enumeration is used to retrieve information from
027 * the panels without having any knowledge of the actual graphical layout.
028 *
029 */
030public enum FieldName
031{
032  /** The value associated with this is a String. */
033  ADMIN_CONNECTOR_PORT,
034
035  /** The value associated with this is a data options.Type. */
036  DATA_OPTIONS,
037
038  /** The value associated with this is a String. **/
039  BACKEND_TYPE,
040
041  /** The value associated with this is a String. */
042  DIRECTORY_BASE_DN,
043
044  /** The value associated with this is a String. */
045  DIRECTORY_MANAGER_DN,
046
047  /** The value associated with this is a String. */
048  DIRECTORY_MANAGER_PWD,
049
050  /** The value associated with this is a String. */
051  DIRECTORY_MANAGER_PWD_CONFIRM,
052
053  /** The value associated with this is a Boolean. */
054  ENABLE_WINDOWS_SERVICE,
055
056  /** The value associated with this is a Set of String. */
057  EXTERNAL_DB_DIRECTORIES,
058
059  /** The value associated with this is a Set of String. */
060  EXTERNAL_LOG_FILES,
061
062  /** The value associated with this is a String. */
063  GLOBAL_ADMINISTRATOR_PWD,
064
065  /** The value associated with this is a String. */
066  GLOBAL_ADMINISTRATOR_PWD_CONFIRM,
067
068  /** The value associated with this is a String. */
069  GLOBAL_ADMINISTRATOR_UID,
070
071  /** The value associated with this is a String. */
072  HOST_NAME,
073
074  /** The value associated with this is a JavaArguments object. */
075  IMPORT_JAVA_ARGUMENTS,
076
077  /** The value associated with this is a String. */
078  LDIF_PATH,
079
080  /** The value associated with this is a String. */
081  NUMBER_ENTRIES,
082
083  /** The value associated with this is a Map<String, String>. */
084  REMOTE_REPLICATION_PORT,
085
086  /** The value associated with this is a Map<String, Boolean>. */
087  REMOTE_REPLICATION_SECURE,
088
089  /** The value associated with this is a String. */
090  REMOTE_SERVER_DN,
091
092  /** The value associated with this is a String. */
093  REMOTE_SERVER_HOST,
094
095  /** The value associated with this is a String. */
096  REMOTE_SERVER_PORT,
097
098  /** The value associated with this is a String. */
099  REMOTE_SERVER_PWD,
100
101  /** The value associated with this is a Boolean. */
102  REMOVE_BACKUPS,
103
104  /** The value associated with this is a Boolean. */
105  REMOVE_CONFIGURATION_AND_SCHEMA,
106
107  /** The value associated with this is a Boolean. */
108  REMOVE_DATABASES,
109
110  /** The value associated with this is a Boolean. */
111  REMOVE_LDIFS,
112
113  /** The value associated with this is a Boolean. */
114  REMOVE_LIBRARIES_AND_TOOLS,
115
116  /** The value associated with this is a Boolean. */
117  REMOVE_LOGS,
118
119  /** The value associated with this is a DataReplicationOptions.Type. */
120  REPLICATION_OPTIONS,
121
122  /** The value associated with this is a String. */
123  REPLICATION_PORT,
124
125  /** The value associated with this is a Boolean. */
126  REPLICATION_SECURE,
127
128  /** The value associated with this is a SecurityOptions object. */
129  SECURITY_OPTIONS,
130
131  /** The value associated with this is a JavaArguments object. */
132  SERVER_JAVA_ARGUMENTS,
133
134  /** The value associated with this is a String. */
135  SERVER_LOCATION,
136
137  /** The value associated with this is a String. */
138  SERVER_PORT,
139
140  /** The value associated with this is a Boolean. */
141  SERVER_START_INSTALLER,
142
143  /** The value associated with this is a Set of SuffixDescriptor. */
144  SUFFIXES_TO_REPLICATE,
145
146  /** The value associated with this is a Map with String keys and BackendTypeUIAdapter values. */
147  SUFFIXES_TO_REPLICATE_BACKEND_TYPE,
148
149  /** The value associated with this is a SuffixesToReplicateOptions.Type. */
150  SUFFIXES_TO_REPLICATE_OPTIONS
151}