org.eclipse.emf.cdo.common.util
Class RepositoryStateChangedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.eclipse.net4j.util.event.Event
          extended by org.eclipse.emf.cdo.common.util.RepositoryStateChangedEvent
All Implemented Interfaces:
Serializable, CDOCommonRepository.StateChangedEvent, IEvent

public class RepositoryStateChangedEvent
extends Event
implements CDOCommonRepository.StateChangedEvent

An event fired when the state of a repository has changed.

Since:
3.0
See Also:
Serialized Form
No Extend
This interface is not intended to be extended by clients.

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RepositoryStateChangedEvent(INotifier source, CDOCommonRepository.State oldState, CDOCommonRepository.State newState)
           
 
Method Summary
 CDOCommonRepository.State getNewState()
           
 CDOCommonRepository.State getOldState()
           
 
Methods inherited from class org.eclipse.net4j.util.event.Event
formatAdditionalParameters, getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.net4j.util.event.IEvent
getSource
 

Constructor Detail

RepositoryStateChangedEvent

public RepositoryStateChangedEvent(INotifier source,
                                   CDOCommonRepository.State oldState,
                                   CDOCommonRepository.State newState)
Method Detail

getOldState

public CDOCommonRepository.State getOldState()
Specified by:
getOldState in interface CDOCommonRepository.StateChangedEvent

getNewState

public CDOCommonRepository.State getNewState()
Specified by:
getNewState in interface CDOCommonRepository.StateChangedEvent


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.