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
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 @@
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.
- */
- 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.
*/
- FAILED,
+ DROPPED,
+
+ /**
+ * The request was not executed because no distribution agent was found to serve it.
+ */
+ NOT_EXECUTED,
/**
* The request has been accepted, as a consequence the content to be distributed