com.starbase.starteam
Class SupportedFeatures

java.lang.Object
  |
  +--com.starbase.starteam.SupportedFeatures

public 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 canShareFolderOnly()
          Determines whether or not the server supports sharing a folder without sharing any of its subfolders or contained items.
 boolean equals(java.lang.Object source)
          returns true if this object instance is equal to the source
 boolean hasBLSLicensing()
          Returns true if the server supports licenses managed by the Borland License Server.
 boolean hasBulkCreateLinks()
          Determines whether or not the server can create multiple links via a single server command.
 boolean hasBulkFetchLinks()
          Determines whether or not the server fetch links for multiple items via a single server command.
 boolean hasClientManagedFileStatus()
          Deprecated. All supported versions of the StarTeam server manage file status information on the client. This method always returns true.
 boolean hasConcurrentLicensing()
          Deprecated. All supported versions of the StarTeam server support concurrent licensing. This method always returns true.
 boolean hasCurrentTime()
          Determines whether or not the server can report its current time.
 boolean hasCustomTranslations()
          Return true if property and enum names can have customized display names for clients in different locales.
 boolean hasDeletedItems()
          Determines whether or not the server supports retrieval of information regarding deleted items.
 boolean hasDiagnostics()
          Determines whether or not the server supports server configuration diagnostic properties.
 boolean hasDiagnosticStatisticsReporting()
          Determines whether or not this server can report diagnostic statistics.
 boolean hasDirectoryServiceSupport()
          Return true if Directory Service is supported.
 boolean hasEnhancedProcessItemCustomizations()
          Determines whether or not this is a StarTeam 9.0 or earlier server that has been customized to support the enhanced process item model.
 boolean hasEnhancedProcessItems()
          Determines whether or not this server has at least partial support for the enhanced process item model.
 boolean hasEnhancedProcessItemsNative()
          Determines whether or not this server has native support for the enhanced process item model.
 boolean hasFileExecutablePermission()
          Return true if the "executable" permission for files is maintained and restored on checkout.
 boolean hasFolderComponentAccessRights()
          Return true if the server supports component-level access rights for Folders.
 boolean hasForwardCompatibility()
          Returns true if older clients can talk to newer servers.
 boolean hasGroupMembers()
          Return true if the server can provide group membership information without requiring special privileges.
 int hashCode()
          returns a unique hash for all instances of this type
 boolean hasItemRevision()
          Determines whether or not the server supports ItemRevision.
 boolean hasLabelCommandsOnRolledBackView()
          Determins whether or not the server supports the following Label operations in rolled back views: 1.
 boolean hasLabelCopy()
          Determines whether or not labels can be copied.
 boolean hasLabelLocking()
          Returns true if the server supports the locking (freezing) of labels.
 boolean hasLicenseUsage()
          Return true if server supports "License Usage" feature.
 boolean hasLinkParentFolderItemID()
          Determines whether or not the server supports retrieving parent Folder Item ID on a Link object.
 boolean hasLongFileSizes()
          Determines whether or not file sizes greater than 2GB are supported.
 boolean hasMergeHistory()
          Determines whether or not the server supports MergeHistory feature.
 boolean hasMergeService()
          Determines whether or not merge service is available.
 boolean hasMultiCommandTransactions()
          Determines whether or not the server supports multi-command transactions.
 boolean hasNamedConfigOptions()
          Determines whether or not the server supports named server configuration options.
 boolean hasNativeIIVault()
          Determines whether or not the server supports the new "NativeII" vault format.
 boolean hasNewAuditProperties()
          Return true if server supports additional new properties for Audit items.
 boolean hasNewUserCertificate()
          Return true if server supports "New User Certificate" feature.
 boolean hasNoTimeoutNamedLicenses()
          Reports whether the server supports "NoTimeoutNamedLicenses" feature.
 boolean hasNOTQueryOperator()
          Return true if queries can be built using the NOT operator.
 boolean hasObjectOwnership()
          Determines whether or not the server supports "Object Ownership".
 boolean hasPromotionStateRights()
          Return true if access rights are set on individual promotion states This first appeared in the 5.3 release.
 boolean hasPVCSSupport()
          Determines whether or not PVCS foreign archives are supported.
 boolean hasReconnect()
          Determines whether or not the server supports reconnect features.
 boolean hasSecureDirectoryService()
          Determines whether or not the server supports "Secure Directory Service (LDAPS)" feature.
 boolean hasServerCommandStats()
          Determines whether or not the server supports retrieval of command statistics.
 boolean hasServerExclusiveLock()
          Returns true if the server can be locked exclusively for the use of a specific user.
 boolean hasServerLicenseInfo()
          Deprecated. License information is available in all supported versions of the StarTeam server. This method always returns true.
 boolean hasServerLock()
          Deprecated.  
 boolean hasServerLockStatus()
          Deprecated. All supported versions of the StarTeam server can report their current lock status. This method always returns true.
 boolean hasServerShutdown()
          Deprecated. All supported versions of the StarTeam server can be shut down and restarted remotely. This method always returns true.
 boolean hasVSSSupport()
          Determines whether or not VSS foreign archives are supported.
 boolean isServerLocalized()
          Return true if the server is localized.
 boolean isShareTreeTimeBased()
          If the share tree is time based, then Item.getReferences() returns a share tree that depends on the view configuration.
 java.lang.String toDebugString()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

hasLabelLocking

public boolean hasLabelLocking()
Returns true if the server supports the locking (freezing) of labels. This first appeared in the 4.1 release.

See Also:
Label.isLocked(), Label.setLocked(boolean)

hasClientManagedFileStatus

public boolean hasClientManagedFileStatus()
Deprecated. All supported versions of the StarTeam server manage file status information on the client. This method always returns true.

Return true if file status is stored locally rather than by the server.

See Also:
StatusMethod, StarTeamClientOptions.setViewStatusMethodOverride(com.starbase.starteam.View, com.starbase.starteam.StatusMethod), StarTeamClientOptions.getViewStatusMethodOverride(com.starbase.starteam.View), StarTeamClientOptions.setCentralStatusDirectory(java.lang.String), StarTeamClientOptions.getCentralStatusDirectory(), StarTeamClientOptions.setDefaultStatusMethod(com.starbase.starteam.StatusMethod), StarTeamClientOptions.getDefaultStatusMethod()

hasNOTQueryOperator

public boolean hasNOTQueryOperator()
Return true if queries can be built using the NOT operator. This first appeared in the 5.3 release.

See Also:
QueryNode.OP_NOT

hasForwardCompatibility

public boolean hasForwardCompatibility()
Returns true if older clients can talk to newer servers. This first appeared in the 5.3 release.


hasServerLock

public boolean hasServerLock()
Deprecated.  

Returns true if the server supports server locking enhancements. The name of this method is misleading, and therefore the method has been deprecated.

See Also:
SupportedFeatures.hasServerLockStatus(), SupportedFeatures.hasServerExclusiveLock()

hasServerLockStatus

public boolean hasServerLockStatus()
Deprecated. All supported versions of the StarTeam server can report their current lock status. This method always returns true.

Returns true if the server can report its current lock status.

See Also:
ServerAdministration.getServerLockStatus()

hasServerExclusiveLock

public boolean hasServerExclusiveLock()
Returns true if the server can be locked exclusively for the use of a specific user. This feature first appeared in the 5.1 release.

See Also:
ServerAdministration.lockServerExclusively()

hasBLSLicensing

public boolean hasBLSLicensing()
Returns true if the server supports licenses managed by the Borland License Server. This feature first appeared in the 7.1 release.


hasMultiCommandTransactions

public boolean hasMultiCommandTransactions()
Determines whether or not the server supports multi-command transactions. Transactions are currently supported in checkin and view compare/merge. This feature first appeared in the 9.0 release.

Returns:
true if the server supports multi-command transactions, false otherwise.

hasLicenseUsage

public boolean hasLicenseUsage()
Return true if server supports "License Usage" feature.

Returns:
Return true if server supports "License Usage" feature.
See Also:
ServerAdministrator#getLicenseUsage, ServerAdministrator#updateLicenseUsage

hasNewUserCertificate

public boolean hasNewUserCertificate()
Return true if server supports "New User Certificate" feature.

Returns:
Return true if server supports "New User Certificate" feature.
See Also:
Server#newPasswordAtLogOn

hasServerLicenseInfo

public boolean hasServerLicenseInfo()
Deprecated. License information is available in all supported versions of the StarTeam server. This method always returns true.

Return true if the server license information is available.

See Also:
ServerLicenseInfo, ServerAdministration.getLicenseInformation()

hasConcurrentLicensing

public boolean hasConcurrentLicensing()
Deprecated. All supported versions of the StarTeam server support concurrent licensing. This method always returns true.

Return true if the server supports concurrent licensing.

See Also:
ServerLicenseInfo, ServerAdministration.getLicenseInformation(), UserAccount.setHasFixedLicense(boolean), UserAccount.getHasFixedLicense()

hasServerShutdown

public boolean hasServerShutdown()
Deprecated. All supported versions of the StarTeam server can be shut down and restarted remotely. This method always returns true.

Return true if the server can be shut down and restarted remotely from a client application.

See Also:
ServerAdministration.shutdownServer(), ServerAdministration.restartServer()

hasObjectOwnership

public boolean hasObjectOwnership()
Determines whether or not the server supports "Object Ownership". This feature had been removed in command api 1.35.

Returns:
true if "Object Ownership" is supported; false otherwise.

hasNewAuditProperties

public boolean hasNewAuditProperties()
Return true if server supports additional new properties for Audit items.


hasFileExecutablePermission

public boolean hasFileExecutablePermission()
Return true if the "executable" permission for files is maintained and restored on checkout.

See Also:
PropertyNames.FILE_EXECUTABLE

hasGroupMembers

public boolean hasGroupMembers()
Return true if the server can provide group membership information without requiring special privileges.

See Also:
Group.isMember(int), Group.fetchMemberUserIDs(boolean)

hasPromotionStateRights

public boolean hasPromotionStateRights()
Return true if access rights are set on individual promotion states This first appeared in the 5.3 release.

See Also:
PromotionState.getACL(), PromotionState.setACL(com.starbase.starteam.AclEntry[])

isServerLocalized

public boolean isServerLocalized()
Return true if the server is localized. This first appeared in the 5.4 release.


hasCustomTranslations

public boolean hasCustomTranslations()
Return true if property and enum names can have customized display names for clients in different locales. This first appeared in the 5.4 release.

See Also:
Property.getTranslations(), Translations

hasDirectoryServiceSupport

public boolean hasDirectoryServiceSupport()
Return true if Directory Service is supported. This first appeared in the 6.0 release.

Returns:
true or false.
See Also:
UserAccount, ServerConfiguration

hasLabelCopy

public boolean hasLabelCopy()
Determines whether or not labels can be copied. This feature first appeared in the 4.0 release.

Returns:
true if labels can be copied; false otherwise.
See Also:
View.cloneViewLabel(com.starbase.starteam.Label, java.lang.String, java.lang.String, boolean, boolean), View.cloneRevisionLabel(com.starbase.starteam.Label, java.lang.String, java.lang.String, boolean)

hasMergeService

public boolean hasMergeService()
Determines whether or not merge service is available. This feature first appeared in 4.2 SP3 release.

Returns:
true if merge service is available; false otherwise.
See Also:
Item.deleteMergePoint(com.starbase.starteam.MergePoint), Item.recordMergePoint(com.starbase.starteam.Item), Item.resolveMergePoint(com.starbase.starteam.Item)

hasServerCommandStats

public boolean hasServerCommandStats()
Determines whether or not the server supports retrieval of command statistics. This feature first appeared in the 5.1 release.

Returns:
true if command statistics are supported; false otherwise.
See Also:
ServerAdministration.getServerCommandStats(java.io.OutputStream)

hasNamedConfigOptions

public boolean hasNamedConfigOptions()
Determines whether or not the server supports named server configuration options. This feature first appeared in the 6.0 release, command api 1.12.

Returns:
true if named options are supported; false otherwise.
See Also:
ServerAdministration.getNamedConfigOptions(java.lang.String[]), ServerAdministration.setNamedConfigOptions(java.lang.String[], java.lang.String[])

hasDiagnostics

public boolean hasDiagnostics()
Determines whether or not the server supports server configuration diagnostic properties. This feature first appeared in the 6.0 release, command api 1.12.

Returns:
true if named options are supported; false otherwise.
See Also:
ServerConfiguration.getTraceExpensiveOperations(), ServerConfiguration.setTraceExpensiveOperations(boolean), ServerConfiguration.getExpensiveOperationMinimum(), ServerConfiguration.setExpensiveOperationMinimum(int), ServerConfiguration.getDumpAsserts(), ServerConfiguration.setDumpAsserts(boolean), ServerConfiguration.getDumpErrors(), ServerConfiguration.setDumpErrors(boolean)

hasReconnect

public boolean hasReconnect()
Determines whether or not the server supports reconnect features. This feature first appeared in the 6.0 release.

Returns:
true if reconnect is supported; false otherwise.
See Also:
ServerConfiguration.getReconnectTimeout()

hasItemRevision

public boolean hasItemRevision()
Determines whether or not the server supports ItemRevision. This feature first appeared in the 7.0 release, command api 1.17.

Returns:
true if named options are supported; false otherwise.
See Also:
Item.getItemRevisions(), ItemRevision

hasLinkParentFolderItemID

public boolean hasLinkParentFolderItemID()
Determines whether or not the server supports retrieving parent Folder Item ID on a Link object. It affects the value returned from the calls to Link.getParentFolderItemID(). This feature first appeared in the 7.0 release, command api 1.16.

Returns:
true if named options are supported; false otherwise.
See Also:
Link.getParentFolderItemID()

hasMergeHistory

public boolean hasMergeHistory()
Determines whether or not the server supports MergeHistory feature. This feature first appeared in the 7.0 release, command api 1.17.

Returns:
true if named options are supported; false otherwise.
See Also:
Item.getMergeHistory()

hasSecureDirectoryService

public boolean hasSecureDirectoryService()
Determines whether or not the server supports "Secure Directory Service (LDAPS)" feature. This feature first appeaered in the 7.0 release, command api 1.19.

Returns:
true if Secure Directory Service (LDAPS) is supported; false otherwise.
See Also:
ServerConfiguration.getUsingSecureDirectoryService()

hasNativeIIVault

public boolean hasNativeIIVault()
Determines whether or not the server supports the new "NativeII" vault format. This feature first appeared in the 7.0 release.

Returns:
true if NativeII vault format is supported; false otherwise.
See Also:
HiveManager.getHiveInfo(), HiveManager.setHiveInfo(com.starbase.starteam.HiveInfo[]), PropertyNames.FILE_ARCHIVE_FORMAT, PropertyNames.FILE_ARCHIVE_NAME, PropertyNames.FILE_HIVE_ID

hasNoTimeoutNamedLicenses

public boolean hasNoTimeoutNamedLicenses()
Reports whether the server supports "NoTimeoutNamedLicenses" feature. It first appeared in the 7.0 release.

Returns:
true if the feature is supported, false otherwise.
See Also:
ServerConfiguration.getNoTimeoutNamedLicenses()

hasPVCSSupport

public boolean hasPVCSSupport()
Determines whether or not PVCS foreign archives are supported.

Returns:
true if PVCS foreign archives are supported, and false otherwise.

hasVSSSupport

public boolean hasVSSSupport()
Determines whether or not VSS foreign archives are supported.

Returns:
true if VSS foreign archives are supported, and false otherwise.

hasLongFileSizes

public boolean hasLongFileSizes()
Determines whether or not file sizes greater than 2GB are supported.

Returns:
boolean true if file sizes greater than 2GB are supported, and false otherwise.

hasDeletedItems

public boolean hasDeletedItems()
Determines whether or not the server supports retrieval of information regarding deleted items.

Returns:
True if the server supports retrieval of information regarding deleted items; false otherwise.
See Also:
PropertyNames.ITEM_DELETED_TIME, PropertyNames.ITEM_DELETED_USER_ID, Item.isDeleted(), Item.getDeletedTime(), Item#getDeletedUserUD

hasLabelCommandsOnRolledBackView

public boolean hasLabelCommandsOnRolledBackView()
Determins whether or not the server supports the following Label operations in rolled back views: 1. attachment, 2. detachment 3. movement.

Returns:
True if the server supports the above operations; false otherwise.
See Also:
Label.attachItem(com.starbase.starteam.Item, int, com.starbase.util.OLEDate, boolean), Label.attachToFolder(com.starbase.starteam.Folder, int), Label.attachToItems(int[], com.starbase.starteam.ViewConfiguration), Label.detachFromFolder(com.starbase.starteam.Folder, int), Label.detachFromItems(int[]), Label.detachItem(com.starbase.starteam.Item), Label.moveItem(com.starbase.starteam.Item, int, com.starbase.util.OLEDate)

canShareFolderOnly

public boolean canShareFolderOnly()
Determines whether or not the server supports sharing a folder without sharing any of its subfolders or contained items.

Returns:
true if the server supports sharing a folder without sharing any of its subfolders or contained items; false if sharing a folder always shares its contained items.
See Also:
Folder.shareTo(Folder,boolean)

hasCurrentTime

public boolean hasCurrentTime()
Determines whether or not the server can report its current time.

Returns:
true if the server can report its current time; false otherwise.
See Also:
Server.getCurrentTime()

hasEnhancedProcessItems

public boolean hasEnhancedProcessItems()
Determines whether or not this server has at least partial support for the enhanced process item model. In the enhanced model, changed files and folders are linked to process items indirectly, via a view-specific process task.

StarTeam server versions 9.1 and later have full support for the enhanced process item model. Earlier servers must be customized in order to support the enhanced model on add and checkin operations.

Returns:
true if this server supports the enhanced process item model, and false otherwise.
See Also:
SupportedFeatures.hasEnhancedProcessItemsNative(), SupportedFeatures.hasEnhancedProcessItemCustomizations()

hasEnhancedProcessItemsNative

public boolean hasEnhancedProcessItemsNative()
Determines whether or not this server has native support for the enhanced process item model. These features were added in StarTeam 9.1.

Returns:
true if this server has native support for the enhanced process item model, and false otherwise.
See Also:
ProcessItem#hasEnhancedModelNative

hasEnhancedProcessItemCustomizations

public boolean hasEnhancedProcessItemCustomizations()
Determines whether or not this is a StarTeam 9.0 or earlier server that has been customized to support the enhanced process item model.

Returns:
true if this is a StarTeam server that has been customized to support the enhanced process item model.
See Also:
ProcessItem#hasEnhancedModelCustomizations

hasBulkCreateLinks

public boolean hasBulkCreateLinks()
Determines whether or not the server can create multiple links via a single server command.

See Also:
LinkFactory

hasBulkFetchLinks

public boolean hasBulkFetchLinks()
Determines whether or not the server fetch links for multiple items via a single server command.

See Also:
LinkCache

hasFolderComponentAccessRights

public boolean hasFolderComponentAccessRights()
Return true if the server supports component-level access rights for Folders. This first appeared in 9.0.42 release.

Returns:
true if the server supports component-level access rights for Folders.

isShareTreeTimeBased

public boolean isShareTreeTimeBased()
If the share tree is time based, then Item.getReferences() returns a share tree that depends on the view configuration. For a rolled back view configuration, the share tree lists only those references that existed at that point in time. If the share tree is not time based, then Item.getReferences() always returns all the references that have been created to date, even for a rolled back view configuration.


hasDiagnosticStatisticsReporting

public boolean hasDiagnosticStatisticsReporting()
Determines whether or not this server can report diagnostic statistics. This feature was added in StarTeam 10.4.

Returns:
true if this server can report diagnostic statistics, and false otherwise.
See Also:
ServerConfiguration#isDiagnosticStatisticsReportingEnabled

toDebugString

public java.lang.String toDebugString()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object source)
returns true if this object instance is equal to the source

Overrides:
equals in class java.lang.Object
Parameters:
source - Object the source to comapre with
Returns:
boolean true if this object is equal to the source

hashCode

public int hashCode()
returns a unique hash for all instances of this type

Overrides:
hashCode in class java.lang.Object
Returns:
int a unique hash for all instances of this type


StarTeam SDK 10.4, Build 36
Copyright © 2003-2008 Borland Software Corporation. All rights reserved.