Package com.yahoo.processing.test
Class ProcessorLibrary.ErrorAdder
- java.lang.Object
-
- com.yahoo.component.AbstractComponent
-
- com.yahoo.component.chain.ChainedComponent
-
- com.yahoo.processing.Processor
-
- com.yahoo.processing.test.ProcessorLibrary.ErrorAdder
-
- All Implemented Interfaces:
com.yahoo.component.Component
,com.yahoo.component.Deconstructable
,Comparable<com.yahoo.component.Component>
- Enclosing class:
- ProcessorLibrary
public static class ProcessorLibrary.ErrorAdder extends Processor
A processor which adds an ErrorMessage to the request of the top level data of each returned response.
-
-
Constructor Summary
Constructors Constructor Description ErrorAdder(ErrorMessage errorMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
process(Request request, Execution execution)
Performs a processing request and returns the response-
Methods inherited from class com.yahoo.component.chain.ChainedComponent
getAnnotatedDependencies, getDefaultAnnotatedDependencies, getDependencies, initDependencies
-
-
-
-
Constructor Detail
-
ErrorAdder
public ErrorAdder(ErrorMessage errorMessage)
-
-