org.eclipse.swordfish.core.event
Interface ConfigurationEvent<T>

Type Parameters:
T - type of configuration.
All Superinterfaces:
Event
All Known Implementing Classes:
ConfigurationEventImpl

public interface ConfigurationEvent<T>
extends Event

Event signalling a modification of a configuration.


Nested Class Summary
static class ConfigurationEvent.Action
          Value indicating what has happened to the configuration.
 
Method Summary
 ConfigurationEvent.Action getAction()
          Indicate the reason of the present event.
 java.util.Map<java.lang.String,T> getConfiguration()
          Get the configuration now valid.
 java.lang.Object getConfigurationSource()
          Access to the underlying platform object from which the configuration has been created.
 
Methods inherited from interface org.eclipse.swordfish.core.event.Event
getProperties, getProperty, getTopic
 

Method Detail

getConfiguration

java.util.Map<java.lang.String,T> getConfiguration()
Get the configuration now valid.

Returns:
Map of configurations involved, may be empty, but never null.

getAction

ConfigurationEvent.Action getAction()
Indicate the reason of the present event.

Returns:
Indicator if configuration has been added, modified, or removed.

getConfigurationSource

java.lang.Object getConfigurationSource()
Access to the underlying platform object from which the configuration has been created.

Returns:
raw platform configuration object.