public class Sftp3gppXmlCollectionHandler extends AbstractXmlCollectionHandler
This supports the processing of several files ordered by filename, and the timestamp between files won't be taken in consideration.
The state will be persisted on disk by saving the name of the last successfully processed file.
| Constructor and Description |
|---|
Sftp3gppXmlCollectionHandler() |
| Modifier and Type | Method and Description |
|---|---|
CollectionSet |
collect(CollectionAgent agent,
XmlDataCollection collection,
Map<String,Object> parameters)
Collect.
|
protected void |
fillCollectionSet(String urlString,
Request request,
CollectionAgent agent,
CollectionSetBuilder builder,
XmlSource source)
Fill collection set.
|
protected void |
processXmlResource(CollectionSetBuilder builder,
Resource resource,
String resourceTypeName,
String group)
Process XML resource.
|
applyXsltTransformation, fillCollectionSet, getCollectionResource, getResourceStorageDao, getRrdRepository, getServiceName, getTimeStamp, getXmlDocument, getXmlDocument, parseRequest, parseString, parseUrl, preProcessHtml, setResourceStorageDao, setRrdRepository, setServiceNamepublic CollectionSet collect(CollectionAgent agent, XmlDataCollection collection, Map<String,Object> parameters) throws CollectionException
XmlCollectionHandlercollect in interface XmlCollectionHandlercollect in class AbstractXmlCollectionHandleragent - the collection agentcollection - the XML collection configurationparameters - the collector parametersCollectionException - the collection exceptionprotected void fillCollectionSet(String urlString, Request request, CollectionAgent agent, CollectionSetBuilder builder, XmlSource source) throws Exception
AbstractXmlCollectionHandlerfillCollectionSet in class AbstractXmlCollectionHandlerurlString - the URL stringrequest - the requestagent - the collection agentsource - the XML sourceException - the exceptionprotected void processXmlResource(CollectionSetBuilder builder, Resource resource, String resourceTypeName, String group)
AbstractXmlCollectionHandlerprocessXmlResource in class AbstractXmlCollectionHandlerresource - the collection resourceCopyright © 2022. All rights reserved.