net.dpml.runtime
Class ProviderEvent
java.lang.Object
java.util.EventObject
net.dpml.runtime.ComponentEvent
net.dpml.runtime.ProviderEvent
- All Implemented Interfaces:
- Serializable
public class ProviderEvent
- extends ComponentEvent
Event triggered as a result of a state change.
- Version:
- 2.1.1
- Author:
- Digital Product Management Library
- See Also:
- Serialized Form
ProviderEvent
public ProviderEvent(Component source,
Provider provider,
Status action)
- Construct a new
StateEvent
.
- Parameters:
source
- the source componentprovider
- the provider instance initiating the eventaction
- the modified Status enumeration
getProvider
public Provider getProvider()
- Get the provider initiating the event.
- Returns:
- the source provider
getStatus
public Status getStatus()
- Get the event status.
- Returns:
- the event status
toString
public String toString()
- Return a string representation of the event.
- Overrides:
toString
in class EventObject
- Returns:
- the event as a string