Uses of Interface
org.apache.sling.testing.mock.osgi.config.annotations.ConfigCollection
Packages that use ConfigCollection
Package
Description
OSGi Config Type Parameters core implementation.
-
Uses of ConfigCollection in org.apache.sling.testing.mock.osgi.config
Methods in org.apache.sling.testing.mock.osgi.config with parameters of type ConfigCollectionModifier and TypeMethodDescriptionstatic <T> T[]ConfigAnnotationUtil.resolveParameterToArray(@NotNull ConfigCollection configCollection, @NotNull Class<T> configType) Returns an array of configs matching the specified parameter config type.ConfigAnnotationUtil.resolveParameterToConfigMap(@NotNull ConfigCollection configCollection, @NotNull Class<T> parameterConfigType, @NotNull Class<?>[] signatureParameterTypes, int parameterIndex) Returns the first config map from theConfigCollection, if present, after skipping the same number of values as there are matching signature parameter types with an index lower than the current parameterIndex.static <T> Optional<TypedConfig<T>>ConfigAnnotationUtil.resolveParameterToTypedConfig(@NotNull ConfigCollection configCollection, @NotNull Class<T> parameterConfigType, @NotNull Class<?>[] signatureParameterTypes, int parameterIndex) Returns the firstTypedConfigfrom theConfigCollection, if present, after skipping the same number of values as there are matching signature parameter types with an index lower than the current parameterIndex.static <T> Optional<T>ConfigAnnotationUtil.resolveParameterToValue(@NotNull ConfigCollection configCollection, @NotNull Class<T> parameterConfigType, @NotNull Class<?>[] signatureParameterTypes, int parameterIndex) Returns the first config value from theConfigCollection, if present, after skipping the same number of values as there are matching signature parameter types with an index lower than the current parameterIndex.