Interface ConfigurationStore<T>

Type Parameters:
T - type of the configuration objects
All Known Implementing Classes:
AbstractStore, AuditLogConfigurationStoreDecorator

public interface ConfigurationStore<T>
ConfigurationStore for configuration objects. Note: the default implementation use JAXB to marshall the configuration objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Deletes the configuration.
    get()
    Returns the configuration object from store.
    default Optional<T>
    Returns the configuration object from store.
    void
    set(T object)
    Stores the given configuration object to the store.
  • Method Details

    • get

      T get()
      Returns the configuration object from store.
      Returns:
      configuration object from store
    • getOptional

      default Optional<T> getOptional()
      Returns the configuration object from store.
      Returns:
      configuration object from store
    • set

      void set(T object)
      Stores the given configuration object to the store.
      Parameters:
      object - configuration object to store
    • delete

      default void delete()
      Deletes the configuration.
      Since:
      2.24.0