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

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

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

Features supported by the framework (identity, catalog, location) services of a Team Foundation Server.

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

Field Summary
static SupportedFeatures ALL
          This is a combination of all the features which are supported.
static SupportedFeatures IDENTITY_PROPERTIES
          The client supports strongly-typed identity properties.
static SupportedFeatures NONE
           
 
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

IDENTITY_PROPERTIES

public static final SupportedFeatures IDENTITY_PROPERTIES
The client supports strongly-typed identity properties.


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.