Repository: nifi Updated Branches: refs/heads/0.x 16042a1fe -> ac0ab0d20
NIFI-1826 Updated documentation Signed-off-by: Matt Burgess <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/ac0ab0d2 Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/ac0ab0d2 Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/ac0ab0d2 Branch: refs/heads/0.x Commit: ac0ab0d20c5bddb7adc2f64ec138f4cea93dc4cc Parents: 3f373c1 Author: Pierre Villard <[email protected]> Authored: Sat Apr 30 12:38:55 2016 +0200 Committer: Matt Burgess <[email protected]> Committed: Wed May 11 10:03:26 2016 -0400 ---------------------------------------------------------------------- .../asciidoc/expression-language-guide.adoc | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/nifi/blob/ac0ab0d2/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
