You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:29:10 UTC

[sling-org-apache-sling-distribution-api] 36/41: SLING-4367: trigger package imported event after succesful import

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

rombert pushed a commit to annotated tag org.apache.sling.distribution.api-0.1.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-api.git

commit fd8d1091c7e7c8e3ca524762cdf63b3763a32099
Author: Marius Petria <mp...@apache.org>
AuthorDate: Thu Jan 29 12:59:29 2015 +0000

    SLING-4367: trigger package imported event after succesful import
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api@1655640 13f79535-47bb-0310-9956-ffa450edef68
---
 .../distribution/event/DistributionEventType.java  | 27 +++++++++++++++-------
 1 file changed, 19 insertions(+), 8 deletions(-)

diff --git a/src/main/java/org/apache/sling/distribution/event/DistributionEventType.java b/src/main/java/org/apache/sling/distribution/event/DistributionEventType.java
index 345083a..a144842 100644
--- a/src/main/java/org/apache/sling/distribution/event/DistributionEventType.java
+++ b/src/main/java/org/apache/sling/distribution/event/DistributionEventType.java
@@ -39,24 +39,35 @@ public enum DistributionEventType {
     AGENT_PACKAGE_DISTRIBUTED,
 
     /**
-     * event for agent created
+     * event for package imported
      */
-    AGENT_CREATED,
+    IMPORTER_PACKAGE_IMPORTED;
 
     /**
-     * event for agent modified
+     * common event topic base for distribution events
      */
-    AGENT_MODIFIED,
+    public static final String EVENT_TOPIC_BASE = "org/apache/sling/distribution";
 
     /**
-     * event for agent deleted
+     * property containing the name of component generating the event
      */
-    AGENT_DELETED;
+    public static final String PROPERTY_DISTRIBUTION_COMPONENT_NAME = "distribution.component.name";
+
 
     /**
-     * common event topic base for distribution events
+     * property containing the kind of the component generating the event
      */
-    public static final String EVENT_TOPIC_BASE = "org/apache/sling/distribution";
+    public static final String PROPERTY_DISTRIBUTION_COMPONENT_KIND= "distribution.component.kind";
+
+    /**
+     * property containing the type of the distribution request
+     */
+    public static final String PROPERTY_DISTRIBUTION_TYPE = "distribution.type";
+
+    /**
+     * property containing the type of the distribution paths
+     */
+    public static final String PROPERTY_DISTRIBUTION_PATHS= "distribution.paths";
 
     /**
      * get the event topic for this event type

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.