Class 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.