Package com.yahoo.processing.test
Class ProcessorLibrary.DataCounter
- java.lang.Object
-
- com.yahoo.component.AbstractComponent
-
- com.yahoo.component.chain.ChainedComponent
-
- com.yahoo.processing.Processor
-
- com.yahoo.processing.test.ProcessorLibrary.DataCounter
-
- All Implemented Interfaces:
com.yahoo.component.Component
,com.yahoo.component.Deconstructable
,Comparable<com.yahoo.component.Component>
- Enclosing class:
- ProcessorLibrary
public static class ProcessorLibrary.DataCounter extends Processor
Adds a data element containing the (recursive) count of concrete (non-list) data elements in the response
-
-
Constructor Summary
Constructors Constructor Description DataCounter()
DataCounter(String name)
The prefix "[name] " is prepended to the string data
-
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
-
DataCounter
public DataCounter()
-
DataCounter
public DataCounter(String name)
The prefix "[name] " is prepended to the string data
-
-