Interface XmlCollectionHandler
-
- All Known Implementing Classes:
AbstractJsonCollectionHandler
,AbstractVTDXmlCollectionHandler
,AbstractXmlCollectionHandler
,DefaultJsonCollectionHandler
,DefaultVTDXmlCollectionHandler
,DefaultXmlCollectionHandler
,HttpCollectionHandler
,Sftp3gppVTDXmlCollectionHandler
,Sftp3gppXmlCollectionHandler
public interface XmlCollectionHandler
The Class XML Collection Handler.- Author:
- Alejandro Galue
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CollectionSet
collect(CollectionAgent agent, XmlDataCollection collection, Map<String,Object> parameters)
Collect.Request
parseRequest(NodeDao nodeDao, Request unformattedRequest, CollectionAgent agent, Integer collectionStep, Map<String,String> parameters)
String
parseUrl(NodeDao nodeDao, String unformattedUrl, CollectionAgent agent, Integer collectionStep, Map<String,String> parameters)
void
setRrdRepository(RrdRepository repository)
Sets the RRD repository.void
setServiceName(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
-
-