Class ConditionAnd
- java.lang.Object
-
- com.adaptris.core.services.conditional.conditions.ConditionImpl
-
- com.adaptris.core.services.conditional.conditions.ConditionListImpl
-
- com.adaptris.core.services.conditional.conditions.ConditionAnd
-
- All Implemented Interfaces:
ComponentLifecycle
,Condition
@ComponentProfile(summary="Allows you to test multiple conditions, where all must return true.", tag="condition") public class ConditionAnd extends ConditionListImpl
This
Condition
allows you to configure a list of childCondition
's where all must evaluate to "true".In the adapter configuration file this class is aliased as and which is the preferred alternative to the fully qualified classname when building your configuration.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.adaptris.core.services.conditional.conditions.ConditionListImpl
ConditionListImpl.LifecycleOperation
-
-
Field Summary
-
Fields inherited from class com.adaptris.core.services.conditional.conditions.ConditionImpl
log
-
-
Constructor Summary
Constructors Constructor Description ConditionAnd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
evaluate(AdaptrisMessage message)
-
Methods inherited from class com.adaptris.core.services.conditional.conditions.ConditionListImpl
close, doLifecycle, doLifecycleQuietly, getConditions, init, setConditions, start, stop, withConditions
-
Methods inherited from class com.adaptris.core.services.conditional.conditions.ConditionImpl
getAdditionalLogging, logCondition, setAdditionalLogging
-
-
-
-
Method Detail
-
evaluate
public boolean evaluate(AdaptrisMessage message) throws CoreException
- Throws:
CoreException
-
-