NIFI-1826 Updated documentation Signed-off-by: Matt Burgess <mattyb...@apache.org>
This closes #396 Project: http://git-wip-us.apache.org/repos/asf/nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/b7aa381a Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/b7aa381a Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/b7aa381a Branch: refs/heads/master Commit: b7aa381ab478746839ef0f4855c424edf584a4d8 Parents: 7910e98 Author: Pierre Villard <pierre.villard...@gmail.com> Authored: Sat Apr 30 12:38:55 2016 +0200 Committer: Matt Burgess <mattyb...@apache.org> Committed: Wed May 11 10:02:11 2016 -0400 ---------------------------------------------------------------------- .../asciidoc/expression-language-guide.adoc | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/nifi/blob/b7aa381a/nifi-docs/src/main/asciidoc/expression-language-guide.adoc ---------------------------------------------------------------------- diff --git a/nifi-docs/src/main/asciidoc/expression-language-guide.adoc b/nifi-docs/src/main/asciidoc/expression-language-guide.adoc index 6f72510..1580037 100644 --- a/nifi-docs/src/main/asciidoc/expression-language-guide.adoc +++ b/nifi-docs/src/main/asciidoc/expression-language-guide.adoc @@ -1036,6 +1036,28 @@ Each of the following functions is used to search its subject for some value. [.function] +=== in + +*Description*: [.description]#Returns `true` if the Subject is matching one of the provided arguments.# + +*Subject Type*: [.subject]#String# + +*Arguments*: + + - [.argName]#_value1_# : [.argDesc]#First possible matching value# + - [.argName]#_valueN_# : [.argDesc]#Nth possible matching value# + +*Return Type*: [.returnType]#Boolean# + +*Examples*: If the "myEnum" attribute has the value "JOHN", then the Expression + `${myEnum:in("PAUL", "JOHN", "MIKE")}` will return `true`. `${myEnum:in("RED", "GREEN", "BLUE")}` will + return `false`. + + + + + +[.function] === find *Description*: [.description]#Returns `true` if the Subject contains any sequence of characters that matches the