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

java.lang.Object
  extended by com.microsoft.tfs.util.BitField
      extended by com.microsoft.tfs.core.clients.versioncontrol.SupportedFeatures
All Implemented Interfaces:
java.io.Serializable

public final class SupportedFeatures
extends com.microsoft.tfs.util.BitField

Features supported by the version control services of a Team Foundation Server.

See Also:
Serialized Form
Since:
TEE-SDK-10.1

Field Summary
static SupportedFeatures ALL
          This is a combination of all the features which are supported.
static SupportedFeatures BATCHED_CHECKINS
          This represents the ability to page pending changes down from the server, and queue up pending changes for checkin, before committing them.
static SupportedFeatures CHECKIN_DATES
          The server supports the ability to set checkin dates
static SupportedFeatures CREATE_BRANCH
          The ability to create a committed branch on the server.
static SupportedFeatures DESTROY
          The destroy feature is available on the server.
static SupportedFeatures GET_CHANGES_FOR_CHANGESET
          The ability to page changes within a changeset.
static SupportedFeatures GET_LATEST_ON_CHECKOUT
          The client supports optionally synchronizing to the latest version of an item on Checkout (PendingEdit).
static SupportedFeatures LOCAL_VERSIONS
          This represents the ability to query local version information from the server
static SupportedFeatures NONE
           
static SupportedFeatures ONE_LEVEL_MAPPING
          This means that the server / client supports one level mappings
static SupportedFeatures PROXY_SUITE
          This represents the suite of proxy services: AddProxy(), DeleteProxy(), QueryProxies(), ...
static SupportedFeatures WORKSPACE_PERMISSIONS
          The server supports workspace permissions
 
Constructor Summary
SupportedFeatures(int flags)
           
 
Method Summary
 SupportedFeatures combine(SupportedFeatures other)
           
static SupportedFeatures combine(SupportedFeatures[] changeTypes)
           
 boolean contains(SupportedFeatures other)
           
 boolean containsAll(SupportedFeatures other)
           
 boolean containsAny(SupportedFeatures other)
           
 SupportedFeatures remove(SupportedFeatures other)
           
 SupportedFeatures retain(SupportedFeatures other)
           
 
Methods inherited from class com.microsoft.tfs.util.BitField
combine, combineInternal, containsAllInternal, containsAnyInternal, containsInternal, equals, fromStringValues, getCombinedSpecialFlags, hashCode, isEmpty, registerStringValue, registerStringValue, removeInternal, retainInternal, toFullStringValues, toIntFlags, toString, toStringValues
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final SupportedFeatures NONE

GET_LATEST_ON_CHECKOUT

public static final SupportedFeatures GET_LATEST_ON_CHECKOUT
The client supports optionally synchronizing to the latest version of an item on Checkout (PendingEdit). If this flag is set but GET_LATEST_ON_CHECKOUT is not set in PendChangesOptions, then the client will synchronize only if the team project has the GET_LATEST_ON_CHECKOUT setting on.


ONE_LEVEL_MAPPING

public static final SupportedFeatures ONE_LEVEL_MAPPING
This means that the server / client supports one level mappings


DESTROY

public static final SupportedFeatures DESTROY
The destroy feature is available on the server.


CREATE_BRANCH

public static final SupportedFeatures CREATE_BRANCH
The ability to create a committed branch on the server.


GET_CHANGES_FOR_CHANGESET

public static final SupportedFeatures GET_CHANGES_FOR_CHANGESET
The ability to page changes within a changeset.


PROXY_SUITE

public static final SupportedFeatures PROXY_SUITE
This represents the suite of proxy services: AddProxy(), DeleteProxy(), QueryProxies(), ...


LOCAL_VERSIONS

public static final SupportedFeatures LOCAL_VERSIONS
This represents the ability to query local version information from the server


BATCHED_CHECKINS

public static final SupportedFeatures BATCHED_CHECKINS
This represents the ability to page pending changes down from the server, and queue up pending changes for checkin, before committing them.


WORKSPACE_PERMISSIONS

public static final SupportedFeatures WORKSPACE_PERMISSIONS
The server supports workspace permissions


CHECKIN_DATES

public static final SupportedFeatures CHECKIN_DATES
The server supports the ability to set checkin dates


ALL

public static final SupportedFeatures ALL
This is a combination of all the features which are supported. Subject to change across releases. You can send this value (from client object model to server, or from server to client object model) and mask with it, but you should not test for equality against it.

Constructor Detail

SupportedFeatures

public SupportedFeatures(int flags)
Method Detail

combine

public static SupportedFeatures combine(SupportedFeatures[] changeTypes)

containsAll

public boolean containsAll(SupportedFeatures other)

contains

public boolean contains(SupportedFeatures other)

containsAny

public boolean containsAny(SupportedFeatures other)

remove

public SupportedFeatures remove(SupportedFeatures other)

retain

public SupportedFeatures retain(SupportedFeatures other)

combine

public SupportedFeatures combine(SupportedFeatures other)


© 2015 Microsoft. All rights reserved.