public class ChainedReportResponseProcessor extends Object implements IReportPostProcessor
IReportPostProcessor
that chain a list of sub processors.Constructor and Description |
---|
ChainedReportResponseProcessor(IReportPostProcessor... processors)
Creates a new instance.
|
ChainedReportResponseProcessor(List<IReportPostProcessor> processors)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
org.json.JSONObject |
process(org.json.JSONObject responseJSON,
Source<? extends ISourceField> source)
Process the given response JSON.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init
public ChainedReportResponseProcessor(IReportPostProcessor... processors)
processors
- public ChainedReportResponseProcessor(List<IReportPostProcessor> processors)
processors
- public org.json.JSONObject process(org.json.JSONObject responseJSON, Source<? extends ISourceField> source) throws org.json.JSONException, PortalException
IReportPostProcessor
process
in interface IReportPostProcessor
responseJSON
- the response JSON.source
- the source.org.json.JSONException
PortalException
Lumisportal 10.1.2.170428 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.