Class DelegatingPersister
- java.lang.Object
-
- org.opennms.netmgt.collection.support.DelegatingPersister
-
- All Implemented Interfaces:
CollectionSetVisitor
,Persister
public class DelegatingPersister extends Object implements Persister
-
-
Constructor Summary
Constructors Constructor Description DelegatingPersister(List<Persister> delegates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
completeAttribute(CollectionAttribute attribute)
completeAttributevoid
completeCollectionSet(CollectionSet set)
completeCollectionSetvoid
completeGroup(AttributeGroup group)
completeGroupvoid
completeResource(CollectionResource resource)
completeResourcevoid
persistNumericAttribute(CollectionAttribute attribute)
persistNumericAttributevoid
persistStringAttribute(CollectionAttribute attribute)
persistStringAttributevoid
visitAttribute(CollectionAttribute attribute)
visitAttributevoid
visitCollectionSet(CollectionSet set)
visitCollectionSetvoid
visitGroup(AttributeGroup group)
visitGroupvoid
visitResource(CollectionResource resource)
visitResource
-
-
-
Method Detail
-
persistNumericAttribute
public void persistNumericAttribute(CollectionAttribute attribute)
Description copied from interface:Persister
persistNumericAttribute
- Specified by:
persistNumericAttribute
in interfacePersister
- Parameters:
attribute
- aCollectionAttribute
object.
-
persistStringAttribute
public void persistStringAttribute(CollectionAttribute attribute)
Description copied from interface:Persister
persistStringAttribute
- Specified by:
persistStringAttribute
in interfacePersister
- Parameters:
attribute
- aCollectionAttribute
object.
-
visitCollectionSet
public void visitCollectionSet(CollectionSet set)
Description copied from interface:CollectionSetVisitor
visitCollectionSet
- Specified by:
visitCollectionSet
in interfaceCollectionSetVisitor
- Parameters:
set
- aorg.opennms.netmgt.collectd.CollectionSet
object.
-
visitResource
public void visitResource(CollectionResource resource)
Description copied from interface:CollectionSetVisitor
visitResource
- Specified by:
visitResource
in interfaceCollectionSetVisitor
- Parameters:
resource
- aCollectionResource
object.
-
visitGroup
public void visitGroup(AttributeGroup group)
Description copied from interface:CollectionSetVisitor
visitGroup
- Specified by:
visitGroup
in interfaceCollectionSetVisitor
- Parameters:
group
- aorg.opennms.netmgt.collectd.AttributeGroup
object.
-
visitAttribute
public void visitAttribute(CollectionAttribute attribute)
Description copied from interface:CollectionSetVisitor
visitAttribute
- Specified by:
visitAttribute
in interfaceCollectionSetVisitor
- Parameters:
attribute
- aorg.opennms.netmgt.collection.api.collectd.CollectionAttribute
object.
-
completeAttribute
public void completeAttribute(CollectionAttribute attribute)
Description copied from interface:CollectionSetVisitor
completeAttribute
- Specified by:
completeAttribute
in interfaceCollectionSetVisitor
- Parameters:
attribute
- aorg.opennms.netmgt.collection.api.collectd.CollectionAttribute
object.
-
completeGroup
public void completeGroup(AttributeGroup group)
Description copied from interface:CollectionSetVisitor
completeGroup
- Specified by:
completeGroup
in interfaceCollectionSetVisitor
- Parameters:
group
- aorg.opennms.netmgt.collectd.AttributeGroup
object.
-
completeResource
public void completeResource(CollectionResource resource)
Description copied from interface:CollectionSetVisitor
completeResource
- Specified by:
completeResource
in interfaceCollectionSetVisitor
- Parameters:
resource
- aCollectionResource
object.
-
completeCollectionSet
public void completeCollectionSet(CollectionSet set)
Description copied from interface:CollectionSetVisitor
completeCollectionSet
- Specified by:
completeCollectionSet
in interfaceCollectionSetVisitor
- Parameters:
set
- aorg.opennms.netmgt.collectd.CollectionSet
object.
-
-