Package com.adaptris.stax.services
Interface InputCondition
-
- All Superinterfaces:
ComponentLifecycle
- All Known Implementing Classes:
MatchCondition
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface InputCondition extends ComponentLifecycle
Whether or not the configured plugin should be fired or not.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmatches(AdaptrisMessage msg)Whether or not this message should have the plugin applied.-
Methods inherited from interface com.adaptris.core.ComponentLifecycle
close, init, start, stop
-
-
-
-
Method Detail
-
matches
boolean matches(AdaptrisMessage msg)
Whether or not this message should have the plugin applied.- Parameters:
msg- the message- Returns:
- true or false.
-
-