Interface FeatureSet

All Known Subinterfaces:
FeatureSetValidation, ModifyableFeatureSet, Version
All Known Implementing Classes:
DatabaseType, FeaturesAllowed, H2Version, MariaDbVersion, MySqlVersion, OracleVersion, PostgresqlVersion, SqlServerVersion, SQLVersion

public interface FeatureSet
  • Method Details

    • getFeatures

      Set<Feature> getFeatures()
    • contains

      default boolean contains(Feature feature)
      Returns:
      true if the feature is identical to one of the features contained in this set, false otherwise
    • getFeaturesClone

      default Set<Feature> getFeaturesClone()
      Returns:
      a new HashSet with a copy of supported features
    • getNotContained

      default Set<Feature> getNotContained(Collection<Feature> features)
      Parameters:
      features -
      Returns:
      all features within this feature set which are not contained in given set
    • retainAll

      default Set<Feature> retainAll(Collection<Feature> features)
      Parameters:
      features -
      Returns:
      all features within this feature set which are contained in given set too.
    • copy

      default ModifyableFeatureSet copy()