Package org.opends.quicksetup.installer
Class SuffixesToReplicateOptions
- java.lang.Object
-
- org.opends.quicksetup.installer.SuffixesToReplicateOptions
-
public class SuffixesToReplicateOptions extends Object
This class is used to provide a data model for the Suffix to Replicate Options panel of the installer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSuffixesToReplicateOptions.TypeThis 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...).
-
Constructor Summary
Constructors Constructor Description SuffixesToReplicateOptions(SuffixesToReplicateOptions.Type type, Set<SuffixDescriptor> availableSuffixes, Set<SuffixDescriptor> suffixesToReplicate)Constructor for the SuffixesToReplicateOptions object.SuffixesToReplicateOptions(SuffixesToReplicateOptions.Type type, Set<SuffixDescriptor> availableSuffixes, Set<SuffixDescriptor> suffixesToReplicate, Map<String,BackendTypeHelper.BackendTypeUIAdapter> backendsToReplicate)Constructor for the SuffixesToReplicateOptions object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<SuffixDescriptor>getAvailableSuffixes()Returns the set of suffixes available for replication.Map<String,BackendTypeHelper.BackendTypeUIAdapter>getSuffixBackendTypes()Returns a map which associate backend names and backend types.Set<SuffixDescriptor>getSuffixes()The set of suffixes that we must replicate with.SuffixesToReplicateOptions.TypegetType()Returns the type of SuffixesToReplicateOptions represented by this object (replicate or not).
-
-
-
Constructor Detail
-
SuffixesToReplicateOptions
public SuffixesToReplicateOptions(SuffixesToReplicateOptions.Type type, Set<SuffixDescriptor> availableSuffixes, Set<SuffixDescriptor> suffixesToReplicate)
Constructor for the SuffixesToReplicateOptions object.- Parameters:
type- the Type of DataReplicationOptions.availableSuffixes- The set of suffixes which are available for replication.suffixesToReplicate- The set of suffixes which user wants to replicate.
-
SuffixesToReplicateOptions
public SuffixesToReplicateOptions(SuffixesToReplicateOptions.Type type, Set<SuffixDescriptor> availableSuffixes, Set<SuffixDescriptor> suffixesToReplicate, Map<String,BackendTypeHelper.BackendTypeUIAdapter> backendsToReplicate)
Constructor for the SuffixesToReplicateOptions object.- Parameters:
type- the Type of DataReplicationOptions.availableSuffixes- The set of suffixes which are available for replication.suffixesToReplicate- The set of suffixes which user wants to replicate.backendsToReplicate- The map with backend name as keys and their associated backend type as value.
-
-
Method Detail
-
getType
public SuffixesToReplicateOptions.Type getType()
Returns the type of SuffixesToReplicateOptions represented by this object (replicate or not).- Returns:
- the type of SuffixesToReplicateOptions.
-
getAvailableSuffixes
public Set<SuffixDescriptor> getAvailableSuffixes()
Returns the set of suffixes available for replication.- Returns:
- an unmodifiable set of the suffixes available for replication.
-
getSuffixes
public Set<SuffixDescriptor> getSuffixes()
The set of suffixes that we must replicate with.- Returns:
- an unmodifiable set of the suffixes that we must replicate with.
-
getSuffixBackendTypes
public Map<String,BackendTypeHelper.BackendTypeUIAdapter> getSuffixBackendTypes()
Returns a map which associate backend names and backend types.- Returns:
- an unmodifiable map which associate backend names and backend types.
-
-