com.github.fge.jsonschema.core.processing
Class ProcessorSelectorPredicate<IN extends MessageProvider,OUT extends MessageProvider>
java.lang.Object
com.github.fge.jsonschema.core.processing.ProcessorSelectorPredicate<IN,OUT>
- Type Parameters:
IN - the input type of processorsOUT - the output type of processors
public final class ProcessorSelectorPredicate<IN extends MessageProvider,OUT extends MessageProvider>
- extends Object
The pendant of ProcessorSelector
This is the result of ProcessorSelector.when(Predicate). Its
only method, then(Processor), returns a ProcessorSelector.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
then
public ProcessorSelector<IN,OUT> then(Processor<IN,OUT> processor)
- Associate a processor to a predicate
- Parameters:
processor - the associated processor
- Returns:
- a new
ProcessorSelector
- Throws:
NullPointerException - the processor is null