falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samar...@apache.org
Subject [2/2] falcon git commit: FALCON-1128 Adding getter methods to FeedLookupResult. Contributed by Karishma G
Date Wed, 01 Apr 2015 04:56:07 GMT
FALCON-1128 Adding getter methods to FeedLookupResult. Contributed by Karishma G


Project: http://git-wip-us.apache.org/repos/asf/falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/falcon/commit/4aa036e6
Tree: http://git-wip-us.apache.org/repos/asf/falcon/tree/4aa036e6
Diff: http://git-wip-us.apache.org/repos/asf/falcon/diff/4aa036e6

Branch: refs/heads/master
Commit: 4aa036e68eae69e0eb42329eb3ad49db14522b07
Parents: fe97483
Author: samarthg <samarthg@apacge.org>
Authored: Wed Apr 1 04:55:08 2015 +0000
Committer: samarthg <samarthg@apacge.org>
Committed: Wed Apr 1 04:55:08 2015 +0000

----------------------------------------------------------------------
 CHANGES.txt                                             |  4 ++++
 .../org/apache/falcon/resource/FeedLookupResult.java    | 12 ++++++++++++
 2 files changed, 16 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/4aa036e6/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 4c7ba2b..0973a67 100755
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -10,6 +10,10 @@ Trunk (Unreleased)
    FALCON-822 Add reverse look up API (Ajay Yadava via Suhas Vasu)
 
   IMPROVEMENTS
+
+   FALCON-1128 Adding getter methods to FeedLookupResult(KArishma G 
+   via Samarth)
+
    FALCON-1086 Support execution-order of a feed to be overridden
    for replication coord (Shaik Idris Ali via Suhas Vasu)
 

http://git-wip-us.apache.org/repos/asf/falcon/blob/4aa036e6/client/src/main/java/org/apache/falcon/resource/FeedLookupResult.java
----------------------------------------------------------------------
diff --git a/client/src/main/java/org/apache/falcon/resource/FeedLookupResult.java b/client/src/main/java/org/apache/falcon/resource/FeedLookupResult.java
index 124feba..9115abb 100644
--- a/client/src/main/java/org/apache/falcon/resource/FeedLookupResult.java
+++ b/client/src/main/java/org/apache/falcon/resource/FeedLookupResult.java
@@ -119,6 +119,18 @@ public class FeedLookupResult extends APIResult {
             this.clusterName = clusterName;
         }
 
+        public String getFeedName() {
+            return this.feedName;
+        }
+
+        public LocationType getLocationType() {
+            return this.locationType;
+        }
+
+        public String getClusterName() {
+            return this.clusterName;
+        }
+
         @Override
         public boolean equals(Object o) {
             if (this == o) {


Mime
View raw message