com.starteam
Class ServerAdministration.License

java.lang.Object
  extended by com.starteam.ServerAdministration.License
Enclosing class:
ServerAdministration

public static final class ServerAdministration.License
extends java.lang.Object

Information about the licenses registered on a StarTeam Server.

See Also:
ServerAdministration.getLicenseInformation()

Nested Class Summary
static class ServerAdministration.License.BLS
          A license managed by the Borland License Server.
 
Method Summary
 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.
 ServerAdministration.License.BLS[] 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, 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 ServerAdministration.License.BLS[] getBLSLicenses()
Gets the licenses managed by the Borland License Server. (BLS and BLS licenses are provided through Embarcadero Software)

Returns:
The licenses managed by the Borland License Server.

getBLSSlipGUIDs

public int[] getBLSSlipGUIDs()
Gets the Slip IDs of the licenses managed by the Borland License Server. (BLS and BLS licenses are provided through Embarcadero Software)

Returns:
The Slip IDs of the licenses managed by the Borland License Server.

getNumUsersForBLSLicense

public int getNumUsersForBLSLicense(int slipGuid)
Gets the number of users currently assigned to the BLS license with the given Slip ID. (BLS and BLS licenses are provided through Embarcadero Software)

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.


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