@ComponentProfile(summary="Tests that a value exists (is not null).", tag="conditional,operator") public class NotNull extends java.lang.Object implements Operator
This Operator
simply tests a single value is not null.
The value used in the not-null 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-null which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
NotNull() |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(AdaptrisMessage message,
java.lang.String object) |
public boolean apply(AdaptrisMessage message, java.lang.String object)