|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.microsoft.tfs.core.clients.versioncontrol.WorkspaceKey
public class WorkspaceKey
WorkspaceKey is a subclass of ConnectionKey that adds a
workspace name attribute to the key. It can be used to cache workspaces or
workspace-related data in an environment where multiple connections are
anticipated. For more information, see the documentation on
ConnectionKey.
| Constructor Summary | |
|---|---|
WorkspaceKey(Workspace workspace)
Creates a new WorkspaceKey for the specified workspace. |
|
WorkspaceKey(WorkspaceInfo cachedWorkspace)
Creates a new WorkspaceKey for the specified cached workspace. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getOwnerName()
|
java.lang.String |
getWorkspaceName()
|
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WorkspaceKey(Workspace workspace)
WorkspaceKey for the specified workspace.
workspace - the workspace to key (must not be null)public WorkspaceKey(WorkspaceInfo cachedWorkspace)
WorkspaceKey for the specified cached workspace.
cachedWorkspace - the cached workspace to key (must not be null)| Method Detail |
|---|
public java.lang.String getWorkspaceName()
null)public java.lang.String getOwnerName()
null)public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||