Package jetbrains.buildServer.serverSide
Interface LicensingPolicy
-
public interface LicensingPolicy
Provides information about current licensing policy.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getMaxNumberOfAuthorizedAgents()
Returns maximum number of authorized agents or -1 if there is no limitint
getMaxNumberOfBuildTypes()
Returns maximum number of build configurations supported by the current licensing policy.boolean
isEAPEvaluationMode()
boolean
isEnterpriseMode()
Returns true if server is working in the enterprise mode.boolean
isEvaluationMode()
boolean
isOpenSourceMode()
-
-
-
Method Detail
-
isEnterpriseMode
boolean isEnterpriseMode()
Returns true if server is working in the enterprise mode.- Returns:
- true for enterprise mode and false otherwise
-
isEvaluationMode
boolean isEvaluationMode()
- Returns:
- true if server is in evaluation mode
-
isEAPEvaluationMode
boolean isEAPEvaluationMode()
- Returns:
- true if server is in EAP evaluation mode.
-
isOpenSourceMode
boolean isOpenSourceMode()
- Returns:
- Returns true if server is in open source evaluation mode.
-
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
-
-