Class ComponentDiscoveryEvent
- java.lang.Object
-
- org.codehaus.plexus.component.discovery.ComponentDiscoveryEvent
-
public class ComponentDiscoveryEvent extends java.lang.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.
-
-
Field Summary
Fields Modifier and Type Field Description private ComponentSetDescriptor
componentSetDescriptor
private java.lang.Object
data
-
Constructor Summary
Constructors Constructor Description ComponentDiscoveryEvent(ComponentSetDescriptor componentSetDescriptor)
Constructs aComponentDiscoveryEvent
with a set of ComponentDescriptors.ComponentDiscoveryEvent(ComponentSetDescriptor componentSetDescriptor, java.lang.Object data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComponentSetDescriptor
getComponentSetDescriptor()
Returns this event's set of ComponentDescriptors.java.lang.Object
getData()
-
-
-
Field Detail
-
componentSetDescriptor
private ComponentSetDescriptor componentSetDescriptor
-
data
private java.lang.Object data
-
-
Constructor Detail
-
ComponentDiscoveryEvent
public ComponentDiscoveryEvent(ComponentSetDescriptor componentSetDescriptor)
Constructs aComponentDiscoveryEvent
with a set of ComponentDescriptors.- Parameters:
componentSetDescriptor
- a set of ComponentDescriptors
-
ComponentDiscoveryEvent
public ComponentDiscoveryEvent(ComponentSetDescriptor componentSetDescriptor, java.lang.Object data)
-
-
Method Detail
-
getComponentSetDescriptor
public ComponentSetDescriptor getComponentSetDescriptor()
Returns this event's set of ComponentDescriptors.- Returns:
- this event's set of ComponentDescriptors
-
getData
public java.lang.Object getData()
-
-