Uses of Interface
org.apache.sling.testing.mock.osgi.config.annotations.ConfigCollection
-
Packages that use ConfigCollection Package Description org.apache.sling.testing.mock.osgi.config 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 ConfigCollection Modifier and Type Method Description static <T> T[]
ConfigAnnotationUtil. resolveParameterToArray(@NotNull ConfigCollection configCollection, @NotNull Class<T> configType)
Returns an array of configs matching the specified parameter config type.static <T> Optional<Map<String,Object>>
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 firstTypedConfig
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<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.
-