Interface Updatable<T>

All Known Implementing Classes:
Attribute, AttributeSet, AuthenticationConfiguration, AuthorizationConfiguration, BackupConfiguration, BackupForConfiguration, ClusteringConfiguration, Configuration, ConfigurationElement, ContentTypeConfiguration, CorsConfiguration, CorsRuleConfiguration, CounterManagerConfiguration, EncodingConfiguration, EncryptionConfiguration, ExpirationConfiguration, GroupsConfiguration, HashConfiguration, HotRodServerConfiguration, IndexingConfiguration, IndexMergeConfiguration, IndexReaderConfiguration, IndexWriterConfiguration, L1Configuration, LockingConfiguration, MemcachedServerConfiguration, MemoryConfiguration, PartitionHandlingConfiguration, ProtocolServerConfiguration, QueryConfiguration, RecoveryConfiguration, RestServerConfiguration, SaslConfiguration, SitesConfiguration, SniConfiguration, SslConfiguration, SslConfiguration, StackFileConfiguration, StateTransferConfiguration, StatisticsConfiguration, TakeOfflineConfiguration, TopologyCacheConfiguration, TransactionConfiguration, UnsafeConfiguration, XSiteStateTransferConfiguration

public interface Updatable<T>
An interface for defining updatable attributes/attributeset. The default implementation is a no-op.
Since:
13.0
Author:
Tristan Tarrant
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    update(String parentName, T other)
    Updates the mutable part of this instance with the values of the other instance
    default void
    validateUpdate(String parentName, T other)
    Verifies that updating the mutable part of this instance with the values of the other instance is possible
  • Method Details

    • update

      default void update(String parentName, T other)
      Updates the mutable part of this instance with the values of the other instance
      Parameters:
      other -
    • validateUpdate

      default void validateUpdate(String parentName, T other)
      Verifies that updating the mutable part of this instance with the values of the other instance is possible
      Parameters:
      other -