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.2 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-api.git
commit 00388a2ecf1dcd46711e59b9243878bfe2e86005 Author: Marius Petria <[email protected]> AuthorDate: Tue Sep 22 12:08:23 2015 +0000 SLING-5046: adding provider type to all types outside transport git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api@1704589 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/sling/distribution/DistributionRequestType.java | 3 +++ .../java/org/apache/sling/distribution/SimpleDistributionRequest.java | 4 ++++ .../org/apache/sling/distribution/event/DistributionEventTopics.java | 4 +++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/sling/distribution/DistributionRequestType.java b/src/main/java/org/apache/sling/distribution/DistributionRequestType.java index bd34e24..6b44713 100644 --- a/src/main/java/org/apache/sling/distribution/DistributionRequestType.java +++ b/src/main/java/org/apache/sling/distribution/DistributionRequestType.java @@ -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 { /** diff --git a/src/main/java/org/apache/sling/distribution/SimpleDistributionRequest.java b/src/main/java/org/apache/sling/distribution/SimpleDistributionRequest.java index debe870..e2a98d2 100644 --- a/src/main/java/org/apache/sling/distribution/SimpleDistributionRequest.java +++ b/src/main/java/org/apache/sling/distribution/SimpleDistributionRequest.java @@ -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 SimpleDistributionRequest implements DistributionRequest { * 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; diff --git a/src/main/java/org/apache/sling/distribution/event/DistributionEventTopics.java b/src/main/java/org/apache/sling/distribution/event/DistributionEventTopics.java index 890ebe0..f06feb2 100644 --- a/src/main/java/org/apache/sling/distribution/event/DistributionEventTopics.java +++ b/src/main/java/org/apache/sling/distribution/event/DistributionEventTopics.java @@ -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"; /** -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
