org.codehaus.plexus.component.discovery

Class ComponentDiscoveryEvent


public class ComponentDiscoveryEvent
extends Object

Signals to a ComponentDiscoveryListener that an event has taken place involving a set of components. It is up to the Listener to decide what to do with that information.

Constructor Summary

ComponentDiscoveryEvent(ComponentSetDescriptor componentSetDescriptor)
Constructs a ComponentDiscoveryEvent with a set of ComponentDescriptors.

Method Summary

ComponentSetDescriptor
getComponentSetDescriptor()
Returns this event's set of ComponentDescriptors.

Constructor Details

ComponentDiscoveryEvent

public ComponentDiscoveryEvent(ComponentSetDescriptor componentSetDescriptor)
Constructs a ComponentDiscoveryEvent with a set of ComponentDescriptors.
Parameters:
componentSetDescriptor - a set of ComponentDescriptors

Method Details

getComponentSetDescriptor

public ComponentSetDescriptor getComponentSetDescriptor()
Returns this event's set of ComponentDescriptors.
Returns:
this event's set of ComponentDescriptors