com.microsoft.tfs.core.clients.versioncontrol
Class WorkspaceLocation

java.lang.Object
  extended by com.microsoft.tfs.util.TypesafeEnum
      extended by com.microsoft.tfs.core.clients.versioncontrol.WorkspaceLocation
All Implemented Interfaces:
java.lang.Comparable

public class WorkspaceLocation
extends com.microsoft.tfs.util.TypesafeEnum

Indicates the location where data (pending changes, local versions) for this workspace are stored.

Thread-safety:
immutable

Field Summary
static WorkspaceLocation LOCAL
          Indicates a local workspace, with pending changes and local version data stored on the client.
static WorkspaceLocation SERVER
          Indicates a server-side (traditional) workspace, backwards compatible with TFS 2005-2010.
 
Method Summary
static WorkspaceLocation fromInteger(int value)
          Returns the WorkspaceLocation for the specified integer value.
 
Methods inherited from class com.microsoft.tfs.util.TypesafeEnum
compareTo, equals, getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SERVER

public static final WorkspaceLocation SERVER
Indicates a server-side (traditional) workspace, backwards compatible with TFS 2005-2010.


LOCAL

public static final WorkspaceLocation LOCAL
Indicates a local workspace, with pending changes and local version data stored on the client.

Method Detail

fromInteger

public static WorkspaceLocation fromInteger(int value)
Returns the WorkspaceLocation for the specified integer value.

Parameters:
value - The integer value.
Returns:
The WorkspaceLocation corresponding to this value, or null if none matched


© 2015 Microsoft. All rights reserved.