Class Configuration

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class Configuration
    extends ParameterSet
    Represents the configuration values of the iink runtime environment.
    • Method Detail

      • addListener

        public final void addListener​(@NotNull
                                      @NotNull IConfigurationListener listener)
        Adds the specified listener to this configuration.
        Parameters:
        listener - the listener to be added.
        Throws:
        java.lang.IllegalStateException - when this configuration is closed.
        java.lang.IllegalArgumentException - when listener is null.
      • removeListener

        public final void removeListener​(@NotNull
                                         @NotNull IConfigurationListener listener)
        Removes the specified listener from this configuration.
        Parameters:
        listener - the listener to be removed.
        Throws:
        java.lang.IllegalStateException - when this configuration is closed.
        java.lang.IllegalArgumentException - when listener is null.