org.electrocodeogram.cpc.core.api.hub.event
Class TeamOperationEvent

java.lang.Object
  extended by org.electrocodeogram.cpc.core.api.hub.event.CPCEvent
      extended by org.electrocodeogram.cpc.core.api.hub.event.TeamOperationEvent
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable<CPCEvent>

Deprecated. this event is no longer in use, please refer to the EclipseTeamEvent.

@Deprecated
public class TeamOperationEvent
extends CPCEvent

deprecated

Author:
vw

Nested Class Summary
 class TeamOperationEvent.TeamOperationFile
          Deprecated.  
static class TeamOperationEvent.Type
          Deprecated. no longer in use
 
Constructor Summary
TeamOperationEvent()
          Deprecated.  
 
Method Summary
 java.util.List<TeamOperationEvent.TeamOperationFile> getAffectedFiles()
          Deprecated.  
 TeamOperationEvent.Type getType()
          Deprecated.  
 boolean isValid()
          Deprecated. Checks if this event has been fully initialised.
 void setAffectedFiles(java.util.List<TeamOperationEvent.TeamOperationFile> affectedFiles)
          Deprecated.  
 void setType(TeamOperationEvent.Type type)
          Deprecated.  
 java.lang.String toString()
          Deprecated. Every event should implement a sensible toString method for use in debugging log messages.
 
Methods inherited from class org.electrocodeogram.cpc.core.api.hub.event.CPCEvent
checkSeal, clone, compareTo, getCreationTime, seal
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TeamOperationEvent

public TeamOperationEvent()
Deprecated. 
Method Detail

getType

public TeamOperationEvent.Type getType()
Deprecated. 
Returns:
the type of this event, never null.

setType

public void setType(TeamOperationEvent.Type type)
Deprecated. 

getAffectedFiles

public java.util.List<TeamOperationEvent.TeamOperationFile> getAffectedFiles()
Deprecated. 

setAffectedFiles

public void setAffectedFiles(java.util.List<TeamOperationEvent.TeamOperationFile> affectedFiles)
Deprecated. 

isValid

public boolean isValid()
Deprecated. 
Description copied from class: CPCEvent
Checks if this event has been fully initialised.
Will return false if one of the mandatory fields of the event has not yet been filled out.

Subclasses should override this method but should never return true. Instead they should delegate to the super class implementation once all validity checks on their level have passed.

The CPCEvent.isValid() implementation always returns true.

Overrides:
isValid in class CPCEvent
Returns:
true if this event is valid, false otherwise.
See Also:
IEventHubRegistry.dispatch(CPCEvent)

toString

public java.lang.String toString()
Deprecated. 
Description copied from class: CPCEvent
Every event should implement a sensible toString method for use in debugging log messages.

Specified by:
toString in class CPCEvent
Returns:
debug string representation, never null.