com.starteam.events
Class GroupEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.starteam.events.GroupEvent
All Implemented Interfaces:
java.io.Serializable

public final class GroupEvent
extends java.util.EventObject

An event triggered whenever a Group is added, changed or deleted on the server.

See Also:
GroupListener, Server.addGroupListener(com.starteam.events.GroupListener), Serialized Form

Method Summary
 Group getGroup()
          Gets the Group that has been added, changed or deleted, in its new state.
 java.lang.String toString()
          Gets a short description of this GroupEvent.
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getGroup

public Group getGroup()
Gets the Group that has been added, changed or deleted, in its new state.

Returns a Group object that is not a member of the Server's Group collection (that is, it is not among the Group objects returned by Server.getGroups()). There may be a Group in the collection with the same ID, but it would be a physically different object that is likely to have different properties.

If an application wants to refresh the Group objects in the Server's Group collection, it must explicitly call Server.refreshGroups().

Returns:
The Group that has been added, changed or deleted, in its new state.
See Also:
Group, Server.getGroups(), Server.refreshGroups()

toString

public java.lang.String toString()
Gets a short description of this GroupEvent.

Overrides:
toString in class java.util.EventObject
Returns:
A short description of this GroupEvent.


StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.