@ComponentProfile(summary="Tests that a value is not null or not empty", tag="conditional,operator") public class NotEmpty extends IsEmpty
This Operator
simply tests that the given value does not evaluate to null or an empty string.
The value used in the NotEmpty test is the Condition
that this Operator
is
configured for; which could be the message payload or a metadata item for example.
In the adapter configuration file this class is aliased as not-empty which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
NotEmpty() |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(AdaptrisMessage message,
java.lang.String object) |
getIgnoreWhitespace, setIgnoreWhitespace
public boolean apply(AdaptrisMessage message, java.lang.String object)