Package org.opends.quicksetup.installer
Enum DataReplicationOptions.Type
- java.lang.Object
-
- java.lang.Enum<DataReplicationOptions.Type>
-
- org.opends.quicksetup.installer.DataReplicationOptions.Type
-
- All Implemented Interfaces:
Serializable,Comparable<DataReplicationOptions.Type>
- Enclosing class:
- DataReplicationOptions
public static enum DataReplicationOptions.Type extends Enum<DataReplicationOptions.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 FIRST_IN_TOPOLOGYReplicate Contents and this is the first server in topology..IN_EXISTING_TOPOLOGYReplicate Contents of the new Suffix with existing server.STANDALONEStandalone server.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataReplicationOptions.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static DataReplicationOptions.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STANDALONE
public static final DataReplicationOptions.Type STANDALONE
Standalone server.
-
FIRST_IN_TOPOLOGY
public static final DataReplicationOptions.Type FIRST_IN_TOPOLOGY
Replicate Contents and this is the first server in topology..
-
IN_EXISTING_TOPOLOGY
public static final DataReplicationOptions.Type IN_EXISTING_TOPOLOGY
Replicate Contents of the new Suffix with existing server.
-
-
Method Detail
-
values
public static DataReplicationOptions.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 (DataReplicationOptions.Type c : DataReplicationOptions.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 DataReplicationOptions.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
-
-