com.microsoft.tfs.core.clients.versioncontrol.events
Class WorkspaceUpdatedEvent

java.lang.Object
  extended by com.microsoft.tfs.core.clients.CoreClientEvent
      extended by com.microsoft.tfs.core.clients.versioncontrol.events.WorkspaceEvent
          extended by com.microsoft.tfs.core.clients.versioncontrol.events.WorkspaceUpdatedEvent

public class WorkspaceUpdatedEvent
extends WorkspaceEvent

Event fired when a workspace is updated.

Since:
TEE-SDK-10.1
Thread-safety:
unknown

Nested Class Summary
 
Nested classes/interfaces inherited from class com.microsoft.tfs.core.clients.versioncontrol.events.WorkspaceEvent
WorkspaceEvent.WorkspaceEventSource
 
Constructor Summary
WorkspaceUpdatedEvent(EventSource source, Workspace workspace, java.lang.String originalName, WorkspaceLocation originalLocation, WorkspaceEvent.WorkspaceEventSource workspaceEventSource)
           
 
Method Summary
 WorkspaceLocation getOriginalLocation()
           
 java.lang.String getOriginalName()
           
 
Methods inherited from class com.microsoft.tfs.core.clients.versioncontrol.events.WorkspaceEvent
getWorkspace, getWorkspaceSource
 
Methods inherited from class com.microsoft.tfs.core.clients.CoreClientEvent
getEventSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkspaceUpdatedEvent

public WorkspaceUpdatedEvent(EventSource source,
                             Workspace workspace,
                             java.lang.String originalName,
                             WorkspaceLocation originalLocation,
                             WorkspaceEvent.WorkspaceEventSource workspaceEventSource)
Method Detail

getOriginalName

public java.lang.String getOriginalName()
Returns:
the name of this workspace before this update, or null if the original name is unknown (event came from another process)

getOriginalLocation

public WorkspaceLocation getOriginalLocation()
Returns:
the location of this workspace before this update, or null if the original location is unknown (event came from another process)


© 2015 Microsoft. All rights reserved.