com.starbase.starteam
Class ServerLicenseInfo

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

public class ServerLicenseInfo
extends java.lang.Object

Information about the licenses registered on a StarTeam Server.

See Also:
ServerAdministration.getLicenseInformation(), SystemRevisionNumbers#REV_SERVER_LICENSE_INFO_SUPPORTED

Method Summary
 boolean equals(java.lang.Object source)
          returns true if this object instance is equal to the source
 int getAvailableFixedLicenses()
          Gets the number of fixed (named-user) licenses currently available on the server.
 int getAvailableFloatingLicenses()
          Gets the number of floating (concurrent) licenses currently available on the server.
 BLSLicenseInfo[] getBLSLicenses()
          Gets the licenses managed by the Borland License Server.
 int[] getBLSSlipGUIDs()
          Gets the Slip IDs of the licenses managed by the Borland License Server.
 int getNumUsersForBLSLicense(int slipGuid)
          Gets the number of users currently assigned to the BLS license with the given Slip ID.
 int getTotalFixedLicenses()
          Gets the total number of fixed (named-user) licenses registered on the server.
 int getTotalFloatingLicenses()
          Gets the total number of floating (concurrent) licenses registered on the server.
 int getUnassignedLicenseUsers()
          Gets the number of users without an assigned license on the server.
 int hashCode()
          returns a unique hash for all instances of this type
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getUnassignedLicenseUsers

public int getUnassignedLicenseUsers()
Gets the number of users without an assigned license on the server.

Returns:
The number of users without an assigned license on the server.

getTotalFixedLicenses

public int getTotalFixedLicenses()
Gets the total number of fixed (named-user) licenses registered on the server.

Returns:
The total number of fixed (named-user) licenses registered on the server.

getAvailableFixedLicenses

public int getAvailableFixedLicenses()
Gets the number of fixed (named-user) licenses currently available on the server.

Returns:
The number of fixed (named-user) licenses currently available on the server.

getTotalFloatingLicenses

public int getTotalFloatingLicenses()
Gets the total number of floating (concurrent) licenses registered on the server.

Returns:
The total number of floating (concurrent) licenses registered on the server.

getAvailableFloatingLicenses

public int getAvailableFloatingLicenses()
Gets the number of floating (concurrent) licenses currently available on the server.

Returns:
The number of floating (concurrent) licenses currently available on the server.

getBLSLicenses

public BLSLicenseInfo[] getBLSLicenses()
Gets the licenses managed by the Borland License Server.

Returns:
The licenses managed by the Borland License Server.
See Also:
SupportedFeatures.hasBLSLicensing()

getBLSSlipGUIDs

public int[] getBLSSlipGUIDs()
Gets the Slip IDs of the licenses managed by the Borland License Server.

Returns:
The Slip IDs of the licenses managed by the Borland License Server.
See Also:
SupportedFeatures.hasBLSLicensing()

getNumUsersForBLSLicense

public int getNumUsersForBLSLicense(int slipGuid)
Gets the number of users currently assigned to the BLS license with the given Slip ID.

Parameters:
slipGuid - The Slip ID of a BLS license.
Returns:
The number of users currently assigned to the BLS license with the given Slip ID, or 0 if the given Slip ID does not refer to a valid BLS license.
See Also:
SupportedFeatures.hasBLSLicensing()

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.