com.github.fge.jsonschema.core.processing
Class ProcessorSelectorPredicate<IN extends MessageProvider,OUT extends MessageProvider>

java.lang.Object
  extended by com.github.fge.jsonschema.core.processing.ProcessorSelectorPredicate<IN,OUT>
Type Parameters:
IN - the input type of processors
OUT - 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.


Method Summary
 ProcessorSelector<IN,OUT> then(Processor<IN,OUT> processor)
          Associate a processor to a predicate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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