Class 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.
    • 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.