Interface XmlCollectionHandler
-
- All Known Implementing Classes:
AbstractJsonCollectionHandler,AbstractVTDXmlCollectionHandler,AbstractXmlCollectionHandler,DefaultJsonCollectionHandler,DefaultVTDXmlCollectionHandler,DefaultXmlCollectionHandler,HttpCollectionHandler,Sftp3gppVTDXmlCollectionHandler,Sftp3gppXmlCollectionHandler
public interface XmlCollectionHandlerThe Class XML Collection Handler.- Author:
- Alejandro Galue
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CollectionSetcollect(CollectionAgent agent, XmlDataCollection collection, Map<String,Object> parameters)Collect.RequestparseRequest(NodeDao nodeDao, Request unformattedRequest, CollectionAgent agent, Integer collectionStep, Map<String,String> parameters)StringparseUrl(NodeDao nodeDao, String unformattedUrl, CollectionAgent agent, Integer collectionStep, Map<String,String> parameters)voidsetRrdRepository(RrdRepository repository)Sets the RRD repository.voidsetServiceName(String serviceName)Sets the service name associated with this Collection Handler.
-
-
-
Method Detail
-
collect
CollectionSet collect(CollectionAgent agent, XmlDataCollection collection, Map<String,Object> parameters) throws CollectionException
Collect.- Parameters:
agent- the collection agentcollection- the XML collection configurationparameters- the collector parameters- Returns:
- the XML collection set
- Throws:
CollectionException- the collection exception
-
setRrdRepository
void setRrdRepository(RrdRepository repository)
Sets the RRD repository.- Parameters:
repository- the new RRD repository
-
setServiceName
void setServiceName(String serviceName)
Sets the service name associated with this Collection Handler.- Parameters:
serviceName- the new service name
-
parseUrl
String parseUrl(NodeDao nodeDao, String unformattedUrl, CollectionAgent agent, Integer collectionStep, Map<String,String> parameters) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
parseRequest
Request parseRequest(NodeDao nodeDao, Request unformattedRequest, CollectionAgent agent, Integer collectionStep, Map<String,String> parameters) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-