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 processorProcessorSelector
NullPointerException
- the processor is nullCopyright © 2016. All rights reserved.