Class CollectionSetVisitorWrapper
- java.lang.Object
-
- org.opennms.netmgt.collection.support.CollectionSetVisitorWrapper
-
- All Implemented Interfaces:
CollectionSetVisitor
public class CollectionSetVisitorWrapper extends java.lang.Object implements CollectionSetVisitor
Delegates the visit calls to the wrapped visitor. Allows individual functions to be intercepted.- Author:
- jwhite
-
-
Constructor Summary
Constructors Constructor Description CollectionSetVisitorWrapper(CollectionSetVisitor wrapped)
-
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
-
-
-
Constructor Detail
-
CollectionSetVisitorWrapper
public CollectionSetVisitorWrapper(CollectionSetVisitor wrapped)
-
-
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.
-
-