Interface Multiple<T>

Type Parameters:
T - The type of the sub-configurations.

@Supported public interface Multiple<T>
An object that gives access to multiple sub-configurations from an annotated service.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(String name, T config)
    Add the instance of sub-configuration provided.
    Gets the default attribute values for this configuration.
    void
    delete(String name)
    Delete the instance of sub-configuration identified by the provided name, if it exists.
    get(String name)
    Get the instance of sub-configuration identified by the provided name.
    default Set<T>
    get(QueryFilter<String> queryFilter)
    Gets all instances of sub-configuration which match the provided query filter.
    get(QueryFilter<String> queryFilter, boolean allowWildcards)
    Gets all instances of sub-configuration which match the provided query filter.
    default Set<String>
    Deprecated.
    use nameSet() instead.
    Get the set of names for instances that currently exist.
    static <T> Multiple<T>
    of(Map<String,T> config)
    Creates a Multiple which can be used in ServiceComponent to build nested default SubConfigs easier.
    void
    update(String name, T config)
    Update the values for the configuration identified by the provided name.