sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpet...@apache.org
Subject svn commit: r1704589 - in /sling/trunk/contrib/extensions/distribution/api/src/main/java/org/apache/sling/distribution: DistributionRequestType.java SimpleDistributionRequest.java event/DistributionEventTopics.java
Date Tue, 22 Sep 2015 12:08:25 GMT
Author: mpetria
Date: Tue Sep 22 12:08:23 2015
New Revision: 1704589

URL: http://svn.apache.org/viewvc?rev=1704589&view=rev
Log:
SLING-5046: adding provider type to all types outside transport

Modified:
    sling/trunk/contrib/extensions/distribution/api/src/main/java/org/apache/sling/distribution/DistributionRequestType.java
    sling/trunk/contrib/extensions/distribution/api/src/main/java/org/apache/sling/distribution/SimpleDistributionRequest.java
    sling/trunk/contrib/extensions/distribution/api/src/main/java/org/apache/sling/distribution/event/DistributionEventTopics.java

Modified: sling/trunk/contrib/extensions/distribution/api/src/main/java/org/apache/sling/distribution/DistributionRequestType.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/distribution/api/src/main/java/org/apache/sling/distribution/DistributionRequestType.java?rev=1704589&r1=1704588&r2=1704589&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/distribution/api/src/main/java/org/apache/sling/distribution/DistributionRequestType.java
(original)
+++ sling/trunk/contrib/extensions/distribution/api/src/main/java/org/apache/sling/distribution/DistributionRequestType.java
Tue Sep 22 12:08:23 2015
@@ -18,6 +18,8 @@
  */
 package org.apache.sling.distribution;
 
+import aQute.bnd.annotation.ProviderType;
+
 import javax.annotation.CheckForNull;
 
 /**
@@ -30,6 +32,7 @@ import javax.annotation.CheckForNull;
  * {@code PULL} requests can for example lead to the creation of a "command package" that
will trigger fetching of content
  * from the target instance.
  */
+@ProviderType
 public enum DistributionRequestType {
 
     /**

Modified: sling/trunk/contrib/extensions/distribution/api/src/main/java/org/apache/sling/distribution/SimpleDistributionRequest.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/distribution/api/src/main/java/org/apache/sling/distribution/SimpleDistributionRequest.java?rev=1704589&r1=1704588&r2=1704589&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/distribution/api/src/main/java/org/apache/sling/distribution/SimpleDistributionRequest.java
(original)
+++ sling/trunk/contrib/extensions/distribution/api/src/main/java/org/apache/sling/distribution/SimpleDistributionRequest.java
Tue Sep 22 12:08:23 2015
@@ -18,6 +18,8 @@
  */
 package org.apache.sling.distribution;
 
+import aQute.bnd.annotation.ProviderType;
+
 import javax.annotation.Nonnull;
 import java.util.Arrays;
 import java.util.HashSet;
@@ -26,6 +28,7 @@ import java.util.Set;
 /**
  * A {@link SimpleDistributionRequest} is a {@link DistributionRequest} where all paths are
either "deep" or "shallow".
  */
+@ProviderType
 public final class SimpleDistributionRequest implements DistributionRequest {
 
 
@@ -57,6 +60,7 @@ public final class SimpleDistributionReq
      * Creates a distribution request with "shallow" paths.
      * @param requestType the request type
      * @param paths the array of paths to be distributed
+     * @param deepPaths the set of paths that are to be distributed in depth (with all their
children)
      */
     public SimpleDistributionRequest(@Nonnull DistributionRequestType requestType, @Nonnull
String[] paths, @Nonnull Set<String> deepPaths) {
         this.requestType = requestType;

Modified: sling/trunk/contrib/extensions/distribution/api/src/main/java/org/apache/sling/distribution/event/DistributionEventTopics.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/distribution/api/src/main/java/org/apache/sling/distribution/event/DistributionEventTopics.java?rev=1704589&r1=1704588&r2=1704589&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/distribution/api/src/main/java/org/apache/sling/distribution/event/DistributionEventTopics.java
(original)
+++ sling/trunk/contrib/extensions/distribution/api/src/main/java/org/apache/sling/distribution/event/DistributionEventTopics.java
Tue Sep 22 12:08:23 2015
@@ -18,12 +18,14 @@
  */
 package org.apache.sling.distribution.event;
 
+import aQute.bnd.annotation.ProviderType;
+
 /**
  * an interface containing of the possible topics of events related to distribution
  */
+@ProviderType
 public interface DistributionEventTopics {
 
-
     public static final String EVENT_BASE = "org/apache/sling/distribution";
 
     /**



Mime
View raw message