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:30 UTC
[sling-org-apache-sling-distribution-api] 02/05: SLING-5056: fix
distribution response isSuccessful method
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.2.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-api.git
commit 3e101997ac3468550ff79575d21a8e2bb2b4cd66
Author: Marius Petria <mp...@apache.org>
AuthorDate: Thu Sep 24 12:07:01 2015 +0000
SLING-5056: fix distribution response isSuccessful method
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/api@1705041 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
.../apache/sling/distribution/DistributionRequestState.java | 11 +++++------
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/pom.xml b/pom.xml
index 963903c..8d93cdf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,7 +33,7 @@
<!-- P R O J E C T -->
<!-- ======================================================================= -->
<artifactId>org.apache.sling.distribution.api</artifactId>
- <version>0.1.3-SNAPSHOT</version>
+ <version>0.1.1-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Apache Sling Distribution API</name>
diff --git a/src/main/java/org/apache/sling/distribution/DistributionRequestState.java b/src/main/java/org/apache/sling/distribution/DistributionRequestState.java
index 0390242..da42081 100644
--- a/src/main/java/org/apache/sling/distribution/DistributionRequestState.java
+++ b/src/main/java/org/apache/sling/distribution/DistributionRequestState.java
@@ -43,17 +43,16 @@ public enum DistributionRequestState {
DISTRIBUTED,
/**
- * The request has been dropped and the content was not distributed from the source to target instance,
- * because no distribution agent was found to serve it.
+ * The request has been dropped and the content could not be successfully
+ * distributed from the source to target instance because the request
+ * execution failed during one of the phases: creation, queueing, transport, persistence.
*/
DROPPED,
/**
- * The request has been dropped and the content could not be successfully
- * distributed from the source to target instance because the request
- * execution failed during one of the phases: creation, queueing, transport, persistence.
+ * The request was not executed because no distribution agent was found to serve it.
*/
- FAILED,
+ NOT_EXECUTED,
/**
* The request has been accepted, as a consequence the content to be distributed
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.