Class FilteringParametersProvider

    • Constructor Detail

      • FilteringParametersProvider

        public FilteringParametersProvider​(@NotNull
                                           ParametersProvider delegate,
                                           @NotNull
                                           String prefix)
    • Method Detail

      • get

        @Nullable
        public String get​(@NotNull
                          String key)
        Specified by:
        get in interface ParametersProvider
        Parameters:
        key - the name of the parameter
        Returns:
        the value associated with a key, or null if the parameter with the key cannot be found.
      • size

        public int size()
        Description copied from interface: ParametersProvider
        Returns the number of parameters in this parameters provider. This is the size of the map returned by getAll method.
        Specified by:
        size in interface ParametersProvider
      • getAll

        public Map<String,​String> getAll()
        Description copied from interface: ParametersProvider
        Allows to get map of the provided parameters. Note that get method can provide more parameters then are returned by this method. However, all the parameters returned by this method should also be available via get method.
        Specified by:
        getAll in interface ParametersProvider
        Returns:
        copy of the backed data