com.microsoft.tfs.core.clients.versioncontrol.workspacecache
Class InternalWorkspaceConflictInfo

java.lang.Object
  extended by com.microsoft.tfs.core.clients.versioncontrol.workspacecache.InternalWorkspaceConflictInfo

public class InternalWorkspaceConflictInfo
extends java.lang.Object


Field Summary
static InternalWorkspaceConflictInfo[] EMPTY_ARRAY
           
 
Constructor Summary
InternalWorkspaceConflictInfo(WorkspaceInfo primaryWorkspace, WorkspaceInfo secondaryWorkspace, java.lang.String conflictingPath)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getConflictingPath()
           
 WorkspaceInfo getPrimaryWorkspace()
           
 WorkspaceInfo getSecondaryWorkspace()
           
 java.lang.String getWarningUI()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_ARRAY

public static final InternalWorkspaceConflictInfo[] EMPTY_ARRAY
Constructor Detail

InternalWorkspaceConflictInfo

public InternalWorkspaceConflictInfo(WorkspaceInfo primaryWorkspace,
                                     WorkspaceInfo secondaryWorkspace,
                                     java.lang.String conflictingPath)
Method Detail

getPrimaryWorkspace

public WorkspaceInfo getPrimaryWorkspace()
Returns:
Workspace that will be preserved in the cache

getSecondaryWorkspace

public WorkspaceInfo getSecondaryWorkspace()
Returns:
Workspace that will be removed from the cache

getConflictingPath

public java.lang.String getConflictingPath()
Returns:
Local path that is causing the conflict

getWarningUI

public java.lang.String getWarningUI()
Returns:
a warning string for the current locale with info about the conflict

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


© 2015 Microsoft. All rights reserved.