camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhira...@apache.org
Subject [2/2] camel git commit: Added javadoc for setter in endpoint
Date Fri, 02 Sep 2016 17:40:21 GMT
Added javadoc for setter in endpoint


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

Branch: refs/heads/master
Commit: 8e55d4cd77f0bc8bf1a4537f5f12c4317f6d1530
Parents: 32ef19d
Author: Dhiraj Bokde <dhirajsb@yahoo.com>
Authored: Fri Sep 2 10:23:09 2016 -0700
Committer: Dhiraj Bokde <dhirajsb@yahoo.com>
Committed: Fri Sep 2 10:39:49 2016 -0700

----------------------------------------------------------------------
 .../org/apache/camel/component/file/GenericFileEndpoint.java     | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/8e55d4cd/camel-core/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
b/camel-core/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
index eaf12c8..d1efe7d 100644
--- a/camel-core/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
+++ b/camel-core/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
@@ -477,6 +477,8 @@ public abstract class GenericFileEndpoint<T> extends ScheduledPollEndpoint
imple
     }
 
     /**
+     * Filters the directory based on Simple language.
+     * For example to filter on current date, you can use a simple date pattern such as ${date:now:yyyMMdd}
      * @see #setFilterDirectory(Predicate)
      */
     public void setFilterDirectory(String expression) {
@@ -496,6 +498,8 @@ public abstract class GenericFileEndpoint<T> extends ScheduledPollEndpoint
imple
     }
 
     /**
+     * Filters the file based on Simple language.
+     * For example to filter on file size, you can use ${file:size} > 5000
      * @see #setFilterFile(Predicate)
      */
     public void setFilterFile(String expression) {


Mime
View raw message