com.starteam.events
Class NotificationEvent

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

public final class NotificationEvent
extends java.util.EventObject

An event triggered whenever a "notification" for a given Item is added or removed on the server.

See Also:
NotificationListener, View.addItemListener(com.starteam.events.IItemListener, com.starteam.Item.Type), Folder.addItemListener(com.starteam.events.IItemListener, com.starteam.Item.Type, int), ViewMemberListManager.addItemListener(com.starteam.events.IItemListener), Serialized Form

Method Summary
 Item getItem()
          Gets the Item whose notification state has changed.
 java.lang.String toString()
          Gets a short description of this NotificationEvent.
 
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

getItem

public Item getItem()
Gets the Item whose notification state has changed.

Item.getParentItem() will return a valid parent Folder object. For performance reasons, the same Folder object may be modified and re-used in subsequent events. If an application wants to modify the Folder, or save its state for later use, it should make its own private copy.

Returns:
The Item whose notification state has changed.
See Also:
Item

toString

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

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


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