public interface StringSelector
#toString() returns the first encountered non-empty string or "".
Optimized so that no intermediary objects are created, only one, once the first non-empty string is found.
| Modifier and Type | Field and Description |
|---|---|
static StringSelector |
EMPTY_STRING_SELECTOR |
| Modifier and Type | Method and Description |
|---|---|
boolean |
found()
May be used to stop processing subsequent inputs when a result is already available.
|
static StringSelector |
of(String... strings)
Starts the fluent expression by checking the first string(s).
|
StringSelector |
or(String... strings)
Check the next string(s).
|
static final StringSelector EMPTY_STRING_SELECTOR
static StringSelector of(String... strings)
strings - The first string(s) to check if empty.StringSelector that checked the first string.StringSelector or(String... strings)
strings - The next string(s) to check if empty.StringSelector that checked all strings so far.boolean found()
Copyright © 2023 Apache NiFi Project. All rights reserved.