You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2017/04/24 16:59:58 UTC

[4/8] camel git commit: ServiceCall: add javadoc for static service list and blacklist service filter

ServiceCall: add javadoc for static service list and blacklist service filter


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

Branch: refs/heads/master
Commit: d5046415159a3356c7dda2b58660435fa41c7dc4
Parents: 76481d9
Author: lburgazzoli <lb...@gmail.com>
Authored: Mon Apr 24 17:05:48 2017 +0200
Committer: lburgazzoli <lb...@gmail.com>
Committed: Mon Apr 24 17:05:48 2017 +0200

----------------------------------------------------------------------
 ...stServiceCallServiceFilterConfiguration.java | 23 +++++++++++++++++---
 ...erviceCallServiceDiscoveryConfiguration.java | 21 +++++++++++++++---
 2 files changed, 38 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/d5046415/camel-core/src/main/java/org/apache/camel/model/cloud/BlacklistServiceCallServiceFilterConfiguration.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/cloud/BlacklistServiceCallServiceFilterConfiguration.java b/camel-core/src/main/java/org/apache/camel/model/cloud/BlacklistServiceCallServiceFilterConfiguration.java
index 385b80b..5173051 100644
--- a/camel-core/src/main/java/org/apache/camel/model/cloud/BlacklistServiceCallServiceFilterConfiguration.java
+++ b/camel-core/src/main/java/org/apache/camel/model/cloud/BlacklistServiceCallServiceFilterConfiguration.java
@@ -54,7 +54,14 @@ public class BlacklistServiceCallServiceFilterConfiguration extends ServiceCallS
     }
 
     /**
-     * Sets the server list;
+     * Sets the server blacklist.
+     * 
+     * Each entry can be a list of servers separated by comma in the format:
+     *
+     *   [service@]host:port,[service@]host2:port,[service@]host3:port
+     *
+     * @param servers a list of servers.
+     * @return this instance
      */
     public void setServers(List<String> servers) {
         this.servers = servers;
@@ -65,7 +72,14 @@ public class BlacklistServiceCallServiceFilterConfiguration extends ServiceCallS
     // *************************************************************************
 
     /**
-     * Sets the server list;
+     * Sets the server blacklist.
+     *
+     * Each entry can be a list of servers separated by comma in the format:
+     *
+     *   [service@]host:port,[service@]host2:port,[service@]host3:port
+     *
+     * @param servers a list of servers.
+     * @return this instance
      */
     public BlacklistServiceCallServiceFilterConfiguration servers(List<String> servers) {
         setServers(servers);
@@ -73,7 +87,10 @@ public class BlacklistServiceCallServiceFilterConfiguration extends ServiceCallS
     }
 
     /**
-     * Sets the server list;
+     * Sets the server blacklist.
+     *
+     * @param servers a list of servers separated by comma in the format: [service@]host:port,[service@]host2:port,[service@]host3:port
+     * @return this instance
      */
     public BlacklistServiceCallServiceFilterConfiguration servers(String servers) {
         if (ObjectHelper.isNotEmpty(servers)) {

http://git-wip-us.apache.org/repos/asf/camel/blob/d5046415/camel-core/src/main/java/org/apache/camel/model/cloud/StaticServiceCallServiceDiscoveryConfiguration.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/cloud/StaticServiceCallServiceDiscoveryConfiguration.java b/camel-core/src/main/java/org/apache/camel/model/cloud/StaticServiceCallServiceDiscoveryConfiguration.java
index d35a00c..724ad24 100644
--- a/camel-core/src/main/java/org/apache/camel/model/cloud/StaticServiceCallServiceDiscoveryConfiguration.java
+++ b/camel-core/src/main/java/org/apache/camel/model/cloud/StaticServiceCallServiceDiscoveryConfiguration.java
@@ -55,7 +55,13 @@ public class StaticServiceCallServiceDiscoveryConfiguration extends ServiceCallS
     }
 
     /**
-     * Sets the server list;
+     * Sets the server list.
+     * Each entry can be a list of servers separated by comma in the format:
+     *
+     *   [service@]host:port,[service@]host2:port,[service@]host3:port
+     *
+     * @param servers a list of servers.
+     * @return this instance
      */
     public void setServers(List<String> servers) {
         this.servers = servers;
@@ -66,7 +72,13 @@ public class StaticServiceCallServiceDiscoveryConfiguration extends ServiceCallS
     // *************************************************************************
 
     /**
-     * Sets the server list;
+     * Sets the server list.
+     * Each entry can be a list of servers separated by comma in the format:
+     *
+     *   [service@]host:port,[service@]host2:port,[service@]host3:port
+     *
+     * @param servers a list of servers.
+     * @return this instance
      */
     public StaticServiceCallServiceDiscoveryConfiguration servers(List<String> servers) {
         setServers(servers);
@@ -74,7 +86,10 @@ public class StaticServiceCallServiceDiscoveryConfiguration extends ServiceCallS
     }
 
     /**
-     * Sets the server list;
+     * Sets the server list.
+     *
+     * @param servers a list of servers separated by comma in the format: [service@]host:port,[service@]host2:port,[service@]host3:port
+     * @return this instance
      */
     public StaticServiceCallServiceDiscoveryConfiguration servers(String servers) {
         if (ObjectHelper.isNotEmpty(servers)) {