com.starteam
Class SupportedFeatures

java.lang.Object
  extended by com.starteam.SupportedFeatures

public final class SupportedFeatures
extends java.lang.Object

The SupportedFeatures class contains a number of methods that report whether or not a particular feature is available for a StarTeam server.

See Also:
Server.getSupportedFeatures()

Method Summary
 boolean canConvertPropertyType(java.lang.Class fromType, java.lang.Class toType)
          Determines whether or not the server supports conversion of a given property from one type to another.
 boolean canCreatePropertyType(java.lang.Class propertyType)
          Determines whether or not the server supports creation of a new custom property of the given type.
 boolean hasPropertyType(java.lang.Class propertyType)
          Determines whether or not the server supports a given property type.
 boolean supportsReleaseFourteenZeroFeatures()
          Determines whether the server supports the features of 14.0 Release The 14.0 release introduces multi-tenancy capabilities for MicroFocus hosted deployment
 boolean supportsReleaseThirteenZeroFeatures()
          Determines whether the server supports the features of 13.0 Release The 13.0 release of the server supports Rich Text Descriptions for Tasks, enforcing Link access rights on Trace end points.
 boolean supportsReleaseTwelveFiveFeatures()
          Determines whether the server supports the features of 12.5 Release The 12.5 release of the server supports project and view property fetches in bulk
 boolean supportsReleaseTwelveZeroFeatures()
          Determines whether Server supports the 12.0 Release The 12.0 release of the server supports features including attachments moved to the vault the separation of move and share access rights bulk queries for history, task dependencies and work records mpx enabled access rights and groups custom components, new property types including content, date, date time and map custom components and properties as status properties for process items
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasPropertyType

public boolean hasPropertyType(java.lang.Class propertyType)
Determines whether or not the server supports a given property type. Note that this does not necessarily mean that you can create new custom properties of that type.

Parameters:
propertyType - A property type.
Returns:
true if the given property type is supported by this version of the server, and false otherwise.
See Also:
SupportedFeatures.canCreatePropertyType(java.lang.Class), TextProperty, IntegerProperty, EnumeratedProperty, ObjectProperty, DateTimeProperty, DoubleProperty, ObjectArrayProperty, BinaryProperty, BooleanProperty, TimeSpanProperty, LongIntegerProperty, LinkProperty

canCreatePropertyType

public boolean canCreatePropertyType(java.lang.Class propertyType)
Determines whether or not the server supports creation of a new custom property of the given type.

Parameters:
propertyType - A property type.
Returns:
true if custom properties of the given type are supported by this version of the server, and false otherwise.
See Also:
SupportedFeatures.hasPropertyType(java.lang.Class), SupportedFeatures.canConvertPropertyType(java.lang.Class, java.lang.Class)

canConvertPropertyType

public boolean canConvertPropertyType(java.lang.Class fromType,
                                      java.lang.Class toType)
Determines whether or not the server supports conversion of a given property from one type to another.

Parameters:
fromType - The current property type.
toType - The new property type.
Returns:
true if the conversion is supported; false otherwise.
See Also:
EnumeratedProperty.toBooleanProperty(com.starteam.EnumeratedValue, com.starteam.EnumeratedValue), DoubleProperty.toTimeSpanProperty(com.starteam.util.TimeSpan)

supportsReleaseTwelveZeroFeatures

public boolean supportsReleaseTwelveZeroFeatures()
Determines whether Server supports the 12.0 Release The 12.0 release of the server supports features including attachments moved to the vault the separation of move and share access rights bulk queries for history, task dependencies and work records mpx enabled access rights and groups custom components, new property types including content, date, date time and map custom components and properties as status properties for process items

Returns:
true if server supports the 12.0 release

supportsReleaseTwelveFiveFeatures

public boolean supportsReleaseTwelveFiveFeatures()
Determines whether the server supports the features of 12.5 Release The 12.5 release of the server supports project and view property fetches in bulk

Returns:
true if server supports the 12.5 release

supportsReleaseThirteenZeroFeatures

public boolean supportsReleaseThirteenZeroFeatures()
Determines whether the server supports the features of 13.0 Release The 13.0 release of the server supports Rich Text Descriptions for Tasks, enforcing Link access rights on Trace end points.

Returns:
true if server supports the 13.0 release

supportsReleaseFourteenZeroFeatures

public boolean supportsReleaseFourteenZeroFeatures()
Determines whether the server supports the features of 14.0 Release The 14.0 release introduces multi-tenancy capabilities for MicroFocus hosted deployment

Returns:
true if server supports the 14.0 release


StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.