org.eclipse.swordfish.internal.core.event
Class ConfigurationEventImpl<T>

java.lang.Object
  extended by org.eclipse.swordfish.internal.core.event.EventImpl
      extended by org.eclipse.swordfish.internal.core.event.ConfigurationEventImpl<T>
All Implemented Interfaces:
ConfigurationEvent<T>, Event

public class ConfigurationEventImpl<T>
extends EventImpl
implements ConfigurationEvent<T>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.swordfish.core.event.ConfigurationEvent
ConfigurationEvent.Action
 
Constructor Summary
ConfigurationEventImpl()
           
 
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.
 java.lang.String getTopic()
          Topic identifier.
 void setAction(ConfigurationEvent.Action action)
           
 void setConfiguration(java.util.Map<java.lang.String,T> configuration)
           
 void setConfigurationSource(java.lang.Object configurationSource)
           
 void setTopic(java.lang.String topic)
           
 
Methods inherited from class org.eclipse.swordfish.internal.core.event.EventImpl
getProperties, getProperty, setProperties, setProperty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.swordfish.core.event.Event
getProperties, getProperty
 

Constructor Detail

ConfigurationEventImpl

public ConfigurationEventImpl()
Method Detail

getTopic

public java.lang.String getTopic()
Description copied from interface: Event
Topic identifier.

Specified by:
getTopic in interface Event
Overrides:
getTopic in class EventImpl
Returns:
topic String, never null or empty String.

setTopic

public void setTopic(java.lang.String topic)
Overrides:
setTopic in class EventImpl

getAction

public ConfigurationEvent.Action getAction()
Description copied from interface: ConfigurationEvent
Indicate the reason of the present event.

Specified by:
getAction in interface ConfigurationEvent<T>
Returns:
Indicator if configuration has been added, modified, or removed.

setAction

public void setAction(ConfigurationEvent.Action action)

getConfiguration

public java.util.Map<java.lang.String,T> getConfiguration()
Description copied from interface: ConfigurationEvent
Get the configuration now valid.

Specified by:
getConfiguration in interface ConfigurationEvent<T>
Returns:
Map of configurations involved, may be empty, but never null.

setConfiguration

public void setConfiguration(java.util.Map<java.lang.String,T> configuration)

getConfigurationSource

public java.lang.Object getConfigurationSource()
Description copied from interface: ConfigurationEvent
Access to the underlying platform object from which the configuration has been created.

Specified by:
getConfigurationSource in interface ConfigurationEvent<T>
Returns:
raw platform configuration object.

setConfigurationSource

public void setConfigurationSource(java.lang.Object configurationSource)