public class SnmpCollectionSetToCollectionSetDTOConverter extends Object
Converts a SnmpCollectionSet to CollectionSetDTO. This is an immediate step
in order to refactor the SnmpCollector to use the CollectionSetBuilder.
Usage:
new SnmpCollectionSetToCollectionSetDTOConverter().withParameters(params).convert(collectionSet)
| Constructor and Description |
|---|
SnmpCollectionSetToCollectionSetDTOConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addResourceToBuilder(CollectionSetBuilder builder,
CollectionResource collectionResource) |
CollectionSetDTO |
convert(SnmpCollectionSet collectionSet) |
SnmpCollectionSetToCollectionSetDTOConverter |
withParameters(ServiceParameters params) |
public SnmpCollectionSetToCollectionSetDTOConverter()
public SnmpCollectionSetToCollectionSetDTOConverter withParameters(ServiceParameters params)
public CollectionSetDTO convert(SnmpCollectionSet collectionSet)
public void addResourceToBuilder(CollectionSetBuilder builder, CollectionResource collectionResource)
Copyright © 2022. All rights reserved.