jetbrains.buildServer.serverSide
Interface LicensingPolicy


public interface LicensingPolicy

Provides information about current licensing policy.


Method Summary
 int getMaxNumberOfAuthorizedAgents()
          Returns maximum number of authorized agents or -1 if there is no limit
 int getMaxNumberOfBuildTypes()
          Returns maximum number of build configurations supported by the current licensing policy.
 boolean isEnterpriseMode()
          Returns true if server is working in the enterprise mode.
 

Method Detail

isEnterpriseMode

boolean isEnterpriseMode()
Returns true if server is working in the enterprise mode.

Returns:
true for enterprise mode and false otherwise

getMaxNumberOfBuildTypes

int getMaxNumberOfBuildTypes()
Returns maximum number of build configurations supported by the current licensing policy.

Returns:
maximum number of build configurations supported or -1 if there is no build configurations limit

getMaxNumberOfAuthorizedAgents

int getMaxNumberOfAuthorizedAgents()
Returns maximum number of authorized agents or -1 if there is no limit

Returns:
max number of authorized agents
Since:
5.0