Class NotEmpty
java.lang.Object
com.adaptris.core.services.conditional.operator.IsEmpty
com.adaptris.core.services.conditional.operator.NotEmpty
- All Implemented Interfaces:
Operator
@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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
apply
(AdaptrisMessage message, String object) toString()
Methods inherited from class com.adaptris.core.services.conditional.operator.IsEmpty
getIgnoreWhitespace, setIgnoreWhitespace