You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2020/07/27 13:30:44 UTC

[sling-org-apache-sling-servlets-post] branch master updated: Comment on how to use the abstract base class

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

bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-servlets-post.git


The following commit(s) were added to refs/heads/master by this push:
     new 1536b10  Comment on how to use the abstract base class
1536b10 is described below

commit 1536b103c8e06c38b96fcd717eb9eab8f657df98
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Mon Jul 27 15:30:20 2020 +0200

    Comment on how to use the abstract base class
---
 .../sling/servlets/post/impl/operations/AbstractPostOperation.java    | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/main/java/org/apache/sling/servlets/post/impl/operations/AbstractPostOperation.java b/src/main/java/org/apache/sling/servlets/post/impl/operations/AbstractPostOperation.java
index 022bb94..b5d42eb 100644
--- a/src/main/java/org/apache/sling/servlets/post/impl/operations/AbstractPostOperation.java
+++ b/src/main/java/org/apache/sling/servlets/post/impl/operations/AbstractPostOperation.java
@@ -49,6 +49,10 @@ import org.slf4j.LoggerFactory;
  * {@link PostOperation} service interface providing actual implementations with
  * useful tooling and common functionality like preparing the change logs or
  * saving or refreshing.
+ *
+ * As this package is not exported, if you want to use this as a base class for
+ * custom operations you'll need to embed it in your bundles using the appropriate
+ * bnd directive.
  */
 public abstract class AbstractPostOperation implements PostOperation {