You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by kw...@apache.org on 2022/09/10 17:59:03 UTC

[jackrabbit-filevault] branch master updated: trivial: Improve description and names for OSGi configuration

This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jackrabbit-filevault.git


The following commit(s) were added to refs/heads/master by this push:
     new 899f76b7 trivial: Improve description and names for OSGi configuration
     new 32f6789b Merge branch 'master' of git@github.com:apache/jackrabbit-filevault.git
899f76b7 is described below

commit 899f76b7a4c00745c6ce8eb4880ff2d6208fb25b
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Sat Sep 10 19:58:32 2022 +0200

    trivial: Improve description and names for OSGi configuration
---
 .../jackrabbit/vault/packaging/impl/PackagingImpl.java       | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/impl/PackagingImpl.java b/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/impl/PackagingImpl.java
index 9fdd298f..5d66720e 100644
--- a/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/impl/PackagingImpl.java
+++ b/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/impl/PackagingImpl.java
@@ -92,22 +92,22 @@ public class PackagingImpl implements Packaging {
         /**
          * Defines the package roots of the package manager
          */
-        @AttributeDefinition(description = "The locations in the repository which are used by the package manager")
+        @AttributeDefinition(name = "Repository Path for Packages", description = "The locations in the repository which are used by the JCR package manager")
         String[] packageRoots() default {"/etc/packages"};
 
-        @AttributeDefinition(description = "The authorizable ids or principal names which are allowed to execute hooks (in addition to 'admin', 'administrators' and 'system'")
+        @AttributeDefinition(name = "Allowed Users for Hook Execution", description = "The authorizable ids or principal names which are allowed to execute hooks (in addition to 'admin', 'administrators' and 'system'")
         String[] authIdsForHookExecution();
 
-        @AttributeDefinition(description = "The authorizable ids or principal names which are allowed to install packages with the 'requireRoot' flag (in addition to 'admin', 'administrators' and 'system'")
+        @AttributeDefinition(name = "Allowed Users for Package Installation", description = "The authorizable ids or principal names which are allowed to install packages with the 'requireRoot' flag (in addition to 'admin', 'administrators' and 'system'")
         String[] authIdsForRootInstallation();
 
-        @AttributeDefinition(description = "The default value for strict imports (i.e. whether it just logs certain errors or always throws exceptions")
+        @AttributeDefinition(name = "Default Strict Mode", description = "The default value for strict imports. In strict mode every import failure leads to an exception, while with strict mode those failures are just logged but the import continues in a best effort manner")
         boolean isStrict() default true;
 
-        @AttributeDefinition(description = "Whether to overwrite the primary type of folders")
+        @AttributeDefinition(name = "Legacy Folder Primary Type Mode", description = "Whether to overwrite the primary type of folders during imports")
         boolean overwritePrimaryTypesOfFolders() default true;
 
-        @AttributeDefinition(description = "Default IdConflictPolicy")
+        @AttributeDefinition(name = "Default ID Conflict Policy", description = "Default node id conflict policy to use during import")
         IdConflictPolicy defaultIdConflictPolicy() default IdConflictPolicy.FAIL;
     }