Package org.opends.quicksetup.installer
Enum NewSuffixOptions.Type
- java.lang.Object
-
- java.lang.Enum<NewSuffixOptions.Type>
-
- org.opends.quicksetup.installer.NewSuffixOptions.Type
-
- All Implemented Interfaces:
Serializable,Comparable<NewSuffixOptions.Type>
- Enclosing class:
- NewSuffixOptions
public static enum NewSuffixOptions.Type extends Enum<NewSuffixOptions.Type>
This enumeration is used to know what the user wants to do for the data (import data or not, what use as source of the data...).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATE_BASE_ENTRYCreate base entry.IMPORT_AUTOMATICALLY_GENERATED_DATAGenerate data and import it to the suffix.IMPORT_FROM_LDIF_FILEImport data from an LDIF file.LEAVE_DATABASE_EMPTYDo not add any entry to the suffix.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NewSuffixOptions.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static NewSuffixOptions.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE_BASE_ENTRY
public static final NewSuffixOptions.Type CREATE_BASE_ENTRY
Create base entry.
-
LEAVE_DATABASE_EMPTY
public static final NewSuffixOptions.Type LEAVE_DATABASE_EMPTY
Do not add any entry to the suffix.
-
IMPORT_FROM_LDIF_FILE
public static final NewSuffixOptions.Type IMPORT_FROM_LDIF_FILE
Import data from an LDIF file.
-
IMPORT_AUTOMATICALLY_GENERATED_DATA
public static final NewSuffixOptions.Type IMPORT_AUTOMATICALLY_GENERATED_DATA
Generate data and import it to the suffix.
-
-
Method Detail
-
values
public static NewSuffixOptions.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NewSuffixOptions.Type c : NewSuffixOptions.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NewSuffixOptions.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-