com.microsoft.tfs.core.clients
Class CoreClientEvent

java.lang.Object
  extended by com.microsoft.tfs.core.clients.CoreClientEvent
Direct Known Subclasses:
AffectedTeamProjectsChangedEvent, BranchCommittedEvent, BranchObjectUpdatedEvent, ChangesetReconciledEvent, CheckedPendingChangesChangedEvent, CheckedWorkItemsChangedEvent, CheckinEvent, CommentChangedEvent, ConflictEvent, ConflictResolvedEvent, DestroyEvent, FolderContentChangedEvent, GetEvent, MergingEvent, NonFatalErrorEvent, NotesChangedEvent, OperationCompletedEvent, OperationStartedEvent, PendingChangeEvent, PolicyEvaluatorStateChangedEvent, PolicyLoadErrorEvent, PolicyStateChangedEvent, ScannerModifiedFilesEvent, ShelveEvent, WorkItemSaveEvent, WorkspaceCacheFileReloadedEvent, WorkspaceEvent, WorkstationNonFatalErrorEvent

public abstract class CoreClientEvent
extends java.lang.Object

A base class for all TFS core client events. Provides access to an EventSource object that provides event source context.

Since:
TEE-SDK-11.0
Thread-safety:
immutable

Constructor Summary
CoreClientEvent(EventSource source)
          Creates an event object with the given EventSource.
 
Method Summary
 EventSource getEventSource()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoreClientEvent

public CoreClientEvent(EventSource source)
Creates an event object with the given EventSource.

Parameters:
source - an EventSource object that describes the environment at the time this event was fired (must not be null)
Method Detail

getEventSource

public EventSource getEventSource()
Returns:
the EventSource object that describes the environment at the time this event was fired.


© 2015 Microsoft. All rights reserved.