Class ConditionNever
- java.lang.Object
-
- com.adaptris.core.services.conditional.conditions.ConditionNever
-
- All Implemented Interfaces:
ComponentLifecycle
,Condition
@ComponentProfile(summary="condition that is never true.", tag="condition", since="3.9.0") public class ConditionNever extends java.lang.Object implements Condition
Condition that is never true.This is included for completeness; it will never fire as a condition, so will be useless at runtime. You could use it to temporarily exclude switch cases from executing.
In the adapter configuration file this class is aliased as never which is the preferred alternative to the fully qualified classname when building your configuration.
-
-
Constructor Summary
Constructors Constructor Description ConditionNever()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
evaluate(AdaptrisMessage message)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adaptris.core.ComponentLifecycle
close, init, start, stop
-
-
-
-
Method Detail
-
evaluate
public boolean evaluate(AdaptrisMessage message) throws CoreException
- Specified by:
evaluate
in interfaceCondition
- Throws:
CoreException
-
-