This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.caconfig.spi-1.3.0 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-caconfig-spi.git
commit 3369095d9bb172417d7e2f1b10527a01bb54be57 Author: Stefan Seifert <[email protected]> AuthorDate: Mon Mar 20 17:16:46 2017 +0000 SLING-6669 use resource path instead of resource object for getConfigName* methods in ConfigurationPersistenceStrategy2 SPI git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/caconfig/spi@1787813 13f79535-47bb-0310-9956-ffa450edef68 --- .../caconfig/spi/ConfigurationPersistenceStrategy2.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/apache/sling/caconfig/spi/ConfigurationPersistenceStrategy2.java b/src/main/java/org/apache/sling/caconfig/spi/ConfigurationPersistenceStrategy2.java index 854fd5c..d338103 100644 --- a/src/main/java/org/apache/sling/caconfig/spi/ConfigurationPersistenceStrategy2.java +++ b/src/main/java/org/apache/sling/caconfig/spi/ConfigurationPersistenceStrategy2.java @@ -84,31 +84,31 @@ public interface ConfigurationPersistenceStrategy2 { * Allows the strategy to transform the given configuration name for nested configurations according to it's persistent strategies, * e.g. fetching the data from a child resource instead of the given resource. * @param configName Configuration name - * @param relatedConfigResource A configuration resource that was resolved in context of this configuration name. + * @param relatedConfigPath Path of a configuration resource that was resolved in context of this configuration name. * This can be used to detect if the persistence strategy supports the configuration location. If null it should be assumed that it matches. * @return Transformed configuration name. If null is returned this strategy does not support the given configuration resource path. */ - @CheckForNull String getConfigName(@Nonnull String configName, @CheckForNull Resource relatedConfigResource); + @CheckForNull String getConfigName(@Nonnull String configName, @CheckForNull String relatedConfigPath); /** * Allows the strategy to transform the given configuration name for nested configurations according to it's persistent strategies, * e.g. fetching the data from a child resource instead of the given resource. * @param configName Configuration name - * @param relatedConfigResource A configuration resource that was resolved in context of this configuration name. + * @param relatedConfigPath Path of a configuration resource that was resolved in context of this configuration name. * This can be used to detect if the persistence strategy supports the configuration location. If null it should be assumed that it matches. * @return Transformed configuration name. If null is returned this strategy does not support the given configuration resource path. */ - @CheckForNull String getCollectionParentConfigName(@Nonnull String configName, @CheckForNull Resource relatedConfigResource); + @CheckForNull String getCollectionParentConfigName(@Nonnull String configName, @CheckForNull String relatedConfigPath); /** * Allows the strategy to transform the given configuration name for nested configurations according to it's persistent strategies, * e.g. fetching the data from a child resource instead of the given resource. * @param configName Configuration name - * @param relatedConfigResource A configuration resource that was resolved in context of this configuration name. + * @param relatedConfigPath Path of a configuration resource that was resolved in context of this configuration name. * This can be used to detect if the persistence strategy supports the configuration location. If null it should be assumed that it matches. * @return Transformed configuration name. If null is returned this strategy does not support the given configuration resource path. */ - @CheckForNull String getCollectionItemConfigName(@Nonnull String configName, @CheckForNull Resource relatedConfigResource); + @CheckForNull String getCollectionItemConfigName(@Nonnull String configName, @CheckForNull String relatedConfigPath); /** * Stores configuration data for a singleton configuration resource. -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
