jetbrains.buildServer.web.openapi
Interface ServerSummary


public interface ServerSummary

This class contains server's general summary information, available from any jsp and placed in the request context under name 'serverSummary'.


Method Summary
 int getAuthorizedAgentsCount()
          Returns the number of authorized agents in the system.
 int getBuildConfigurationsLeft()
          Get current number of build configurations which can be created in Professional mode: maxNumber - current
 LicensingPolicy getLicensingPolicy()
          Return current licensing policy for the server
 int getNumberOfRegisteredUsers()
          Return number of registered users in the current auth scheme
 int getNumberOfVisibleConfigurations()
          Returns number of build configurations available to current user according to his/her permissions.
 int getRegisteredAgentsCount()
          Returns the number of registered agents in the system.
 boolean isEnterpriseMode()
          Returns true if server is working in the enterprise mode
 boolean isHasSeveralAgentPools()
          Returns true if number of agent pools is greater than one.
 boolean isPerProjectPermissionsEnabled()
           
 

Method Detail

getRegisteredAgentsCount

int getRegisteredAgentsCount()
Returns the number of registered agents in the system.

Returns:
see above

getAuthorizedAgentsCount

int getAuthorizedAgentsCount()
Returns the number of authorized agents in the system.

Returns:
see above

getBuildConfigurationsLeft

int getBuildConfigurationsLeft()
Get current number of build configurations which can be created in Professional mode: maxNumber - current

Returns:
see above

getNumberOfVisibleConfigurations

int getNumberOfVisibleConfigurations()
Returns number of build configurations available to current user according to his/her permissions.

Returns:
see above

getNumberOfRegisteredUsers

int getNumberOfRegisteredUsers()
Return number of registered users in the current auth scheme

Returns:
see above

isHasSeveralAgentPools

boolean isHasSeveralAgentPools()
Returns true if number of agent pools is greater than one.

Returns:
see above

isEnterpriseMode

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

Returns:
true if server is working in the enterprise mode

getLicensingPolicy

LicensingPolicy getLicensingPolicy()
Return current licensing policy for the server

Returns:
see above

isPerProjectPermissionsEnabled

boolean isPerProjectPermissionsEnabled()
Returns:
true if per-project permissions are enabled.