Class AbstractCollectionSetVisitor
- java.lang.Object
-
- org.opennms.netmgt.collection.support.AbstractCollectionSetVisitor
-
- All Implemented Interfaces:
CollectionSetVisitor
- Direct Known Subclasses:
AbstractPersister
,PersistRegexSelectorStrategy.EvaluatorContextVisitor
,ResourceVisitor
,StringAttributeVisitor
,ThresholdingVisitorImpl
,XmlAttributeCounter
public class AbstractCollectionSetVisitor extends java.lang.Object implements CollectionSetVisitor
This AbstractCollectionSetVisitor class provides no-op implementations of all of the
CollectionSetVisitor
methods so that you can override specific methods as needed to implement your visitor.
-
-
Constructor Summary
Constructors Constructor Description AbstractCollectionSetVisitor()
-
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
visitAttribute(CollectionAttribute attribute)
visitAttributevoid
visitCollectionSet(CollectionSet set)
visitCollectionSetvoid
visitGroup(AttributeGroup group)
visitGroupvoid
visitResource(CollectionResource resource)
visitResource
-
-
-
Method Detail
-
visitAttribute
public void visitAttribute(CollectionAttribute attribute)
visitAttribute
- Specified by:
visitAttribute
in interfaceCollectionSetVisitor
- Parameters:
attribute
- aorg.opennms.netmgt.collection.api.collectd.CollectionAttribute
object.
-
visitCollectionSet
public void visitCollectionSet(CollectionSet set)
visitCollectionSet
- Specified by:
visitCollectionSet
in interfaceCollectionSetVisitor
- Parameters:
set
- aorg.opennms.netmgt.collectd.CollectionSet
object.
-
visitGroup
public void visitGroup(AttributeGroup group)
visitGroup
- Specified by:
visitGroup
in interfaceCollectionSetVisitor
- Parameters:
group
- aorg.opennms.netmgt.collectd.AttributeGroup
object.
-
visitResource
public void visitResource(CollectionResource resource)
visitResource
- Specified by:
visitResource
in interfaceCollectionSetVisitor
- Parameters:
resource
- aCollectionResource
object.
-
completeAttribute
public void completeAttribute(CollectionAttribute attribute)
completeAttribute
- Specified by:
completeAttribute
in interfaceCollectionSetVisitor
- Parameters:
attribute
- aorg.opennms.netmgt.collection.api.collectd.CollectionAttribute
object.
-
completeCollectionSet
public void completeCollectionSet(CollectionSet set)
completeCollectionSet
- Specified by:
completeCollectionSet
in interfaceCollectionSetVisitor
- Parameters:
set
- aorg.opennms.netmgt.collectd.CollectionSet
object.
-
completeGroup
public void completeGroup(AttributeGroup group)
completeGroup
- Specified by:
completeGroup
in interfaceCollectionSetVisitor
- Parameters:
group
- aorg.opennms.netmgt.collectd.AttributeGroup
object.
-
completeResource
public void completeResource(CollectionResource resource)
completeResource
- Specified by:
completeResource
in interfaceCollectionSetVisitor
- Parameters:
resource
- aCollectionResource
object.
-
-