IN - the input type of processorsOUT - the output type of processorspublic final class ProcessorSelectorPredicate<IN extends MessageProvider,OUT extends MessageProvider> extends Object
ProcessorSelector
This is the result of ProcessorSelector.when(Predicate). Its
only method, then(Processor), returns a ProcessorSelector.
| Modifier and Type | Method and Description |
|---|---|
ProcessorSelector<IN,OUT> |
then(Processor<IN,OUT> processor)
Associate a processor to a predicate
|
public ProcessorSelector<IN,OUT> then(Processor<IN,OUT> processor)
processor - the associated processorProcessorSelectorNullPointerException - the processor is null