Package jetbrains.buildServer.serverSide
Interface LicensingPolicy
-
- All Known Subinterfaces:
LicensingPolicyEx
- All Known Implementing Classes:
LicensingPolicyImpl
public interface LicensingPolicyProvides information about current licensing policy.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetMaxNumberOfAuthorizedAgents()Returns maximum number of authorized agents or -1 if there is no limitintgetMaxNumberOfBuildTypes()Returns maximum number of build configurations supported by the current licensing policy.booleanisEAPTrialMode()booleanisEnterpriseMode()Returns true if server is working in the enterprise mode.booleanisOpenSourceMode()booleanisTrialMode()
-
-
-
Method Detail
-
isEnterpriseMode
boolean isEnterpriseMode()
Returns true if server is working in the enterprise mode.- Returns:
- true for enterprise mode and false otherwise
-
isTrialMode
boolean isTrialMode()
- Returns:
- true if server is in trial mode
-
isEAPTrialMode
boolean isEAPTrialMode()
- Returns:
- true if server is in EAP trial 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
-
-