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:12 UTC

[sling-org-apache-sling-distribution-api] 38/41: SLING-4389: Adding a trivial request type TEST for testing connectivity of a distribution agent

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 ddb2630f6e7375f2345353e0f8b33061fc79ab60
Author: Marius Petria <mp...@apache.org>
AuthorDate: Wed Feb 4 09:23:46 2015 +0000

    SLING-4389: Adding a trivial request type TEST for testing connectivity of a distribution agent
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api@1657034 13f79535-47bb-0310-9956-ffa450edef68
---
 .../org/apache/sling/distribution/DistributionRequestType.java     | 7 ++++++-
 1 file changed, 6 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 f005510..bd34e24 100644
--- a/src/main/java/org/apache/sling/distribution/DistributionRequestType.java
+++ b/src/main/java/org/apache/sling/distribution/DistributionRequestType.java
@@ -45,7 +45,12 @@ public enum DistributionRequestType {
     /**
      * Action type for pulling content
      */
-    PULL;
+    PULL,
+
+    /**
+     * Action type for testing connection. No content is modified.
+     */
+    TEST;
 
     /**
      * Creates an action type for the given name. if the name cannot be mapped to a enum type or if

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